From: Nate Begeman Date: Sat, 14 Jan 2006 03:18:27 +0000 (+0000) Subject: Remove some duplicated code X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3a04ffbf6daa66e489aaf29f6c9c728d7272d8a8;p=oota-llvm.git Remove some duplicated code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25313 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index c3029308412..31b7fc7b6ef 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(),