Remove some duplicated code
authorNate Begeman <natebegeman@mac.com>
Sat, 14 Jan 2006 03:18:27 +0000 (03:18 +0000)
committerNate Begeman <natebegeman@mac.com>
Sat, 14 Jan 2006 03:18:27 +0000 (03:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25313 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index c30293084129327d6d442bcc9321a571b07d2217..31b7fc7b6efca88f799400f25af495ff0bcb5bf0 100644 (file)
@@ -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(),