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

Andrew Lenharth alenhar2 at cs.uiuc.edu
Tue Feb 1 20:35:57 PST 2005



Changes in directory llvm/lib/Target/Alpha:

AlphaISelPattern.cpp updated: 1.25 -> 1.26
---
Log message:

fix Load bug

---
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.25 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.26
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.25	Tue Feb  1 21:36:35 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp	Tue Feb  1 22:35:44 2005
@@ -1046,7 +1046,7 @@
       SDOperand Chain   = N.getOperand(0);
       SDOperand Address = N.getOperand(1);
 
-      assert(DestType == MVT::i64 && "unknown Load dest type");
+      assert(N.getValue(0).getValueType() == MVT::i64 && "unknown Load dest type");
 
       if (Address.getOpcode() == ISD::GlobalAddress)
         {






More information about the llvm-commits mailing list