diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2008-04-01 02:00:09 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2008-04-01 02:00:09 +0000 |
| commit | cadb43c532ea8019824b2f98fe20e60107563f0c (patch) | |
| tree | 19474dde8cbd15af8e1eafecfcb1504473d4968d /lib/CodeGen | |
| parent | 4a2f6df680cfd81dc50fe8af722905fbd60ccb05 (diff) | |
| download | external_llvm-cadb43c532ea8019824b2f98fe20e60107563f0c.zip external_llvm-cadb43c532ea8019824b2f98fe20e60107563f0c.tar.gz external_llvm-cadb43c532ea8019824b2f98fe20e60107563f0c.tar.bz2 | |
Pasto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
| -rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index a6d606e..7812187 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -5452,7 +5452,7 @@ ExpandIntToFP(bool isSigned, MVT::ValueType DestTy, SDOperand Source) { RTLIB::Libcall LC; if (SourceVT == MVT::i32) { if (DestTy == MVT::f32) - LC = isSigned ? RTLIB::SINTTOFP_I64_F32 : RTLIB::UINTTOFP_I64_F32; + LC = isSigned ? RTLIB::SINTTOFP_I32_F32 : RTLIB::UINTTOFP_I32_F32; else { assert(DestTy == MVT::f64 && "Unknown fp value type!"); LC = isSigned ? RTLIB::SINTTOFP_I32_F64 : RTLIB::UINTTOFP_I32_F64; |
