[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.cpp
Evan Cheng
evan.cheng at apple.com
Wed Apr 25 00:12:48 PDT 2007
Changes in directory llvm/lib/Target/ARM:
ARMInstrInfo.cpp updated: 1.20 -> 1.21
---
Log message:
Relex assertions to account for additional implicit def / use operands.
---
Diffs of the changes: (+1 -1)
ARMInstrInfo.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/ARM/ARMInstrInfo.cpp
diff -u llvm/lib/Target/ARM/ARMInstrInfo.cpp:1.20 llvm/lib/Target/ARM/ARMInstrInfo.cpp:1.21
--- llvm/lib/Target/ARM/ARMInstrInfo.cpp:1.20 Mon Apr 16 13:10:22 2007
+++ llvm/lib/Target/ARM/ARMInstrInfo.cpp Wed Apr 25 02:12:13 2007
@@ -52,7 +52,7 @@
return true;
case ARM::MOVr:
case ARM::tMOVr:
- assert(MI.getNumOperands() == 2 && MI.getOperand(0).isRegister() &&
+ assert(MI.getNumOperands() >= 2 && MI.getOperand(0).isRegister() &&
MI.getOperand(1).isRegister() &&
"Invalid ARM MOV instruction");
SrcReg = MI.getOperand(1).getReg();
More information about the llvm-commits
mailing list