[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.cpp
Evan Cheng
evan.cheng at apple.com
Wed Apr 25 00:12:53 PDT 2007
Changes in directory llvm/lib/Target/X86:
X86InstrInfo.cpp updated: 1.84 -> 1.85
---
Log message:
Relex assertions to account for additional implicit def / use operands.
---
Diffs of the changes: (+1 -1)
X86InstrInfo.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86InstrInfo.cpp
diff -u llvm/lib/Target/X86/X86InstrInfo.cpp:1.84 llvm/lib/Target/X86/X86InstrInfo.cpp:1.85
--- llvm/lib/Target/X86/X86InstrInfo.cpp:1.84 Tue Apr 24 16:17:46 2007
+++ llvm/lib/Target/X86/X86InstrInfo.cpp Wed Apr 25 02:12:14 2007
@@ -39,7 +39,7 @@
oc == X86::MOVSS2PSrr || oc == X86::MOVSD2PDrr ||
oc == X86::MOVPS2SSrr || oc == X86::MOVPD2SDrr ||
oc == X86::MMX_MOVD64rr || oc == X86::MMX_MOVQ64rr) {
- 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