Mark all (not just the first) predicate operand M_PREDICATE_OPERAND.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37061 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2007-05-15 01:20:36 +00:00
parent 39376d0843
commit 3ab6dcfc54

View File

@ -107,7 +107,7 @@ InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) {
// Predicate operands. Check to see if the original unexpanded operand
// was of type PredicateOperand.
if (j == 0 && Inst.OperandList[i].Rec->isSubClassOf("PredicateOperand"))
if (Inst.OperandList[i].Rec->isSubClassOf("PredicateOperand"))
Res += "|M_PREDICATE_OPERAND";
// Fill in constraint info.