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

Evan Cheng evan.cheng at apple.com
Wed Apr 25 00:12:56 PDT 2007



Changes in directory llvm/lib/Target/Alpha:

AlphaInstrInfo.cpp updated: 1.16 -> 1.17
---
Log message:

Relex assertions to account for additional implicit def / use operands.

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

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


Index: llvm/lib/Target/Alpha/AlphaInstrInfo.cpp
diff -u llvm/lib/Target/Alpha/AlphaInstrInfo.cpp:1.16 llvm/lib/Target/Alpha/AlphaInstrInfo.cpp:1.17
--- llvm/lib/Target/Alpha/AlphaInstrInfo.cpp:1.16	Thu Dec  7 16:21:48 2006
+++ llvm/lib/Target/Alpha/AlphaInstrInfo.cpp	Wed Apr 25 02:12:14 2007
@@ -33,7 +33,7 @@
       oc == Alpha::CPYSTs) {
     // or r1, r2, r2 
     // cpys(s|t) r1 r2 r2
-    assert(MI.getNumOperands() == 3 &&
+    assert(MI.getNumOperands() >= 3 &&
            MI.getOperand(0).isRegister() &&
            MI.getOperand(1).isRegister() &&
            MI.getOperand(2).isRegister() &&






More information about the llvm-commits mailing list