[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelPattern.cpp

Andrew Lenharth alenhar2 at cs.uiuc.edu
Thu Apr 7 07:18:26 PDT 2005



Changes in directory llvm/lib/Target/Alpha:

AlphaISelPattern.cpp updated: 1.85 -> 1.86
---
Log message:

It wasn't happy about this either

---
Diffs of the changes:  (+1 -1)

 AlphaISelPattern.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.85 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.86
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.85	Thu Apr  7 08:55:53 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp	Thu Apr  7 09:18:13 2005
@@ -1755,7 +1755,7 @@
           BuildMI(BB, Alpha::S4ADDQ, 2, Result).addReg(Tmp2).addReg(Tmp1);
         }
       }
-      else if(N.getOperand(0).getOpcode() == ISD::SHL && isAdd &&
+      else if(N.getOperand(1).getOpcode() == ISD::SHL && isAdd &&
          N.getOperand(1).getOperand(1).getOpcode() == ISD::Constant &&
          cast<ConstantSDNode>(N.getOperand(1).getOperand(1))->getValue() == 3)
       {






More information about the llvm-commits mailing list