diff options
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index b4f25f5cdff..c0ad928e7a3 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -790,7 +790,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {            // Only do this if the target has a native EXTLOAD instruction from            // f32.            TLI.isLoadXLegal(ISD::EXTLOAD, MVT::f32)) { -        LLVMC = cast<ConstantFP>(ConstantExpr::getFPTrunc(LLVMC, Type::FloatTy)); +        LLVMC = cast<ConstantFP>(ConstantExpr::getFPTrunc(LLVMC,Type::FloatTy));          VT = MVT::f32;          Extend = true;        }  | 

