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 | ef2fdd21418e0cdc5df963a063b0f940964fa208 (patch) | |
tree | 5a1f9abf8c7152e8935e7d918a90d82180e05523 /lib/Target/ARM/ARMFastISel.cpp | |
parent | f9a26b89f8815651048ed5518d99b484ac7c2ba0 (diff) | |
download | external_llvm-ef2fdd21418e0cdc5df963a063b0f940964fa208.zip external_llvm-ef2fdd21418e0cdc5df963a063b0f940964fa208.tar.gz external_llvm-ef2fdd21418e0cdc5df963a063b0f940964fa208.tar.bz2 |
"Strike that, reverse it." -- Mr. Wonka.
Truncate when truncating, extend when extending.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMFastISel.cpp')
-rw-r--r-- | lib/Target/ARM/ARMFastISel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp index c7673ec..54f3dfb 100644 --- a/lib/Target/ARM/ARMFastISel.cpp +++ b/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; |