diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 0f5103b5c6779599edcb01ac3eb2bb988e463846..c59e9cd7723783a17efcdedc964f7b6008dfca2f 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -4858,10 +4858,10 @@ SDValue X86TargetLowering::LowerUINT_TO_FP_i32(SDValue Op, SelectionDAG &DAG) { SDValue Or = DAG.getNode(ISD::OR, MVT::v2i64, DAG.getNode(ISD::BIT_CONVERT, MVT::v2i64, DAG.getNode(ISD::SCALAR_TO_VECTOR, - MVT::v2f64, Bias)), + MVT::v2f64, Load)), DAG.getNode(ISD::BIT_CONVERT, MVT::v2i64, DAG.getNode(ISD::SCALAR_TO_VECTOR, - MVT::v2f64, Load))); + MVT::v2f64, Bias))); Or = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, MVT::f64, DAG.getNode(ISD::BIT_CONVERT, MVT::v2f64, Or), DAG.getIntPtrConstant(0));