aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/IA64/IA64InstrInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/IA64/IA64InstrInfo.cpp')
-rw-r--r--lib/Target/IA64/IA64InstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/IA64/IA64InstrInfo.cpp b/lib/Target/IA64/IA64InstrInfo.cpp
index 624d53a123..aabdee37cb 100644
--- a/lib/Target/IA64/IA64InstrInfo.cpp
+++ b/lib/Target/IA64/IA64InstrInfo.cpp
@@ -30,7 +30,7 @@ bool IA64InstrInfo::isMoveInstr(const MachineInstr& MI,
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");