diff options
author | Eric Christopher <echristo@apple.com> | 2010-09-09 20:36:19 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-09-09 20:36:19 +0000 |
commit | 82b05d72064ab88d7e9923ba62add3e9d3287142 (patch) | |
tree | 28162050d48fe31706e24d641d299e35e5d0c14d /llvm/lib/Target/ARM/ARMFastISel.cpp | |
parent | 04cf3fd7612150cfb3e0f92b490d821a0dd7aa0c (diff) | |
download | bcm5719-llvm-82b05d72064ab88d7e9923ba62add3e9d3287142.tar.gz bcm5719-llvm-82b05d72064ab88d7e9923ba62add3e9d3287142.zip |
"Strike that, reverse it." -- Mr. Wonka.
Truncate when truncating, extend when extending.
llvm-svn: 113536
Diffstat (limited to 'llvm/lib/Target/ARM/ARMFastISel.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMFastISel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp index c7673ecc60b..54f3dfba797 100644 --- a/llvm/lib/Target/ARM/ARMFastISel.cpp +++ b/llvm/lib/Target/ARM/ARMFastISel.cpp @@ -738,7 +738,7 @@ bool ARMFastISel::ARMSelectFPExt(const Instruction *I) { unsigned Result = createResultReg(ARM::DPRRegisterClass); AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, - TII.get(ARM::VCVTSD), Result) + TII.get(ARM::VCVTDS), Result) .addReg(Op)); UpdateValueMap(I, Result); return true; @@ -758,7 +758,7 @@ bool ARMFastISel::ARMSelectFPTrunc(const Instruction *I) { unsigned Result = createResultReg(ARM::SPRRegisterClass); AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, - TII.get(ARM::VCVTDS), Result) + TII.get(ARM::VCVTSD), Result) .addReg(Op)); UpdateValueMap(I, Result); return true; |