aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2006-01-14 03:18:27 +0000
committerNate Begeman <natebegeman@mac.com>2006-01-14 03:18:27 +0000
commit3a04ffbf6daa66e489aaf29f6c9c728d7272d8a8 (patch)
tree2045e10499069c999a4693dbcd1e232b230ad629 /lib
parentd88fc03602947b5baa35c8b09fe8bcfa2b4a03c1 (diff)
downloadexternal_llvm-3a04ffbf6daa66e489aaf29f6c9c728d7272d8a8.zip
external_llvm-3a04ffbf6daa66e489aaf29f6c9c728d7272d8a8.tar.gz
external_llvm-3a04ffbf6daa66e489aaf29f6c9c728d7272d8a8.tar.bz2
Remove some duplicated code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index c302930..31b7fc7 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -990,15 +990,7 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
return 0;
}
case Intrinsic::bswap_i16:
- setValue(&I, DAG.getNode(ISD::BSWAP,
- getValue(I.getOperand(1)).getValueType(),
- getValue(I.getOperand(1))));
- return 0;
case Intrinsic::bswap_i32:
- setValue(&I, DAG.getNode(ISD::BSWAP,
- getValue(I.getOperand(1)).getValueType(),
- getValue(I.getOperand(1))));
- return 0;
case Intrinsic::bswap_i64:
setValue(&I, DAG.getNode(ISD::BSWAP,
getValue(I.getOperand(1)).getValueType(),