diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-05-15 01:20:36 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-05-15 01:20:36 +0000 |
commit | 3ab6dcfc54426ebdb3d0027187c11ad369af426f (patch) | |
tree | 04c5e29541bef1e99c1ff26520e76ba00be07f59 /utils | |
parent | 39376d08436dc7bc04daa0da84b0648f0cf48751 (diff) | |
download | external_llvm-3ab6dcfc54426ebdb3d0027187c11ad369af426f.zip external_llvm-3ab6dcfc54426ebdb3d0027187c11ad369af426f.tar.gz external_llvm-3ab6dcfc54426ebdb3d0027187c11ad369af426f.tar.bz2 |
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
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/InstrInfoEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/InstrInfoEmitter.cpp b/utils/TableGen/InstrInfoEmitter.cpp index 6fc6d0f..4db92bd 100644 --- a/utils/TableGen/InstrInfoEmitter.cpp +++ b/utils/TableGen/InstrInfoEmitter.cpp @@ -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. |