[llvm-commits] [llvm] r77942 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Rafael Espindola
rafael.espindola at gmail.com
Sun Aug 2 20:00:05 PDT 2009
Author: rafael
Date: Sun Aug 2 22:00:05 2009
New Revision: 77942
URL: http://llvm.org/viewvc/llvm-project?rev=77942&view=rev
Log:
Remove a bitcast that was a no-op.
Thanks to Eli Friedman for noticing it.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=77942&r1=77941&r2=77942&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sun Aug 2 22:00:05 2009
@@ -4448,9 +4448,7 @@
Op.getOperand(0))));
if (Op.getValueType() == MVT::v1i64 && Op.getOperand(0).getValueType() == MVT::i64)
- return DAG.getNode(ISD::BIT_CONVERT, dl, MVT::v1i64,
- DAG.getNode(ISD::SCALAR_TO_VECTOR, dl, MVT::v1i64,
- Op.getOperand(0)));
+ return DAG.getNode(ISD::SCALAR_TO_VECTOR, dl, MVT::v1i64, Op.getOperand(0));
SDValue AnyExt = DAG.getNode(ISD::ANY_EXTEND, dl, MVT::i32, Op.getOperand(0));
MVT VT = MVT::v2i32;
More information about the llvm-commits
mailing list