summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
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
commit542c3c17a9efb0ca75ffc90666eca6cbe058271b (patch)
tree8adc6ba81cc4442b988b5e5ac1a6f388dc88e0ab /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent2fba8a3aaa778176a68dfc78b39bcb1b4932a0b9 (diff)
downloadbcm5719-llvm-542c3c17a9efb0ca75ffc90666eca6cbe058271b.tar.gz
bcm5719-llvm-542c3c17a9efb0ca75ffc90666eca6cbe058271b.zip
Remove some duplicated code
llvm-svn: 25313
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index c3029308412..31b7fc7b6ef 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/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(),
OpenPOWER on IntegriCloud