Remove a bitcast that was a no-op.

Thanks to Eli Friedman for noticing it.

llvm-svn: 77942
This commit is contained in:
Rafael Espindola 2009-08-03 03:00:05 +00:00
parent 4f4b643afa
commit 854d34a9fb
1 changed files with 1 additions and 3 deletions

View File

@ -4448,9 +4448,7 @@ X86TargetLowering::LowerSCALAR_TO_VECTOR(SDValue Op, SelectionDAG &DAG) {
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;