[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelPattern.cpp

Duraid Madina duraid at octopus.com.au
Wed Aug 10 05:39:10 PDT 2005



Changes in directory llvm/lib/Target/IA64:

IA64ISelPattern.cpp updated: 1.52 -> 1.53
---
Log message:

sorry!! this is temporary; for some reason the nasty constmul code seems to
be an infinite loop when using g++-4.0.1*, this kills the ia64 nightly
tester. A proper fix shall be forthcoming!!! thanks for not killing me. :)



---
Diffs of the changes:  (+4 -3)

 IA64ISelPattern.cpp |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


Index: llvm/lib/Target/IA64/IA64ISelPattern.cpp
diff -u llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.52 llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.53
--- llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.52	Tue Aug  9 15:21:09 2005
+++ llvm/lib/Target/IA64/IA64ISelPattern.cpp	Wed Aug 10 07:38:57 2005
@@ -1322,7 +1322,8 @@
   case ISD::MUL: {
 
     if(DestType != MVT::f64) { // TODO: speed!
-      if(N.getOperand(1).getOpcode() != ISD::Constant) { // if not a const mul
+/* FIXME if(N.getOperand(1).getOpcode() != ISD::Constant) { // if not a const mul
+ */
         // boring old integer multiply with xma
         Tmp1 = SelectExpr(N.getOperand(0));
         Tmp2 = SelectExpr(N.getOperand(1));
@@ -1336,9 +1337,9 @@
           .addReg(IA64::F0);
         BuildMI(BB, IA64::GETFSIG, 1, Result).addReg(TempFR3);
         return Result; // early exit
-      } else { // we are multiplying by an integer constant! yay
+     /* FIXME } else { // we are multiplying by an integer constant! yay
         return Reg = SelectExpr(BuildConstmulSequence(N)); // avert your eyes!
-      }
+      } */
     }
     else { // floating point multiply
       Tmp1 = SelectExpr(N.getOperand(0));






More information about the llvm-commits mailing list