[llvm-commits] [llvm] r113536 - /llvm/trunk/lib/Target/ARM/ARMFastISel.cpp

Eric Christopher echristo at apple.com
Thu Sep 9 13:36:19 PDT 2010


Author: echristo
Date: Thu Sep  9 15:36:19 2010
New Revision: 113536

URL: http://llvm.org/viewvc/llvm-project?rev=113536&view=rev
Log:
"Strike that, reverse it." -- Mr. Wonka.

Truncate when truncating, extend when extending.

Modified:
    llvm/trunk/lib/Target/ARM/ARMFastISel.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMFastISel.cpp?rev=113536&r1=113535&r2=113536&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFastISel.cpp Thu Sep  9 15:36:19 2010
@@ -738,7 +738,7 @@
   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 @@
   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;





More information about the llvm-commits mailing list