[llvm-commits] CVS: llvm/lib/Target/IA64/IA64InstrInfo.cpp
Evan Cheng
evan.cheng at apple.com
Wed Apr 25 00:12:47 PDT 2007
Changes in directory llvm/lib/Target/IA64:
IA64InstrInfo.cpp updated: 1.7 -> 1.8
---
Log message:
Relex assertions to account for additional implicit def / use operands.
---
Diffs of the changes: (+1 -1)
IA64InstrInfo.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/IA64/IA64InstrInfo.cpp
diff -u llvm/lib/Target/IA64/IA64InstrInfo.cpp:1.7 llvm/lib/Target/IA64/IA64InstrInfo.cpp:1.8
--- llvm/lib/Target/IA64/IA64InstrInfo.cpp:1.7 Mon Nov 27 17:37:22 2006
+++ llvm/lib/Target/IA64/IA64InstrInfo.cpp Wed Apr 25 02:12:14 2007
@@ -30,7 +30,7 @@
MachineOpCode oc = MI.getOpcode();
if (oc == IA64::MOV || oc == IA64::FMOV) {
// TODO: this doesn't detect predicate moves
- assert(MI.getNumOperands() == 2 &&
+ assert(MI.getNumOperands() >= 2 &&
/* MI.getOperand(0).isRegister() &&
MI.getOperand(1).isRegister() && */
"invalid register-register move instruction");
More information about the llvm-commits
mailing list