projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6e8e6b
)
Mark predicate operands as such in operand info.
author
Chris Lattner
<sabre@nondot.org>
Mon, 6 Nov 2006 23:53:31 +0000
(23:53 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 6 Nov 2006 23:53:31 +0000
(23:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31483
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/InstrInfoEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/InstrInfoEmitter.cpp
b/utils/TableGen/InstrInfoEmitter.cpp
index 9202308ffdb1abbe199004936920038d4998605d..0c5c4552035954eb3113a09f1bdaf6b9fbe6cd2c 100644
(file)
--- a/
utils/TableGen/InstrInfoEmitter.cpp
+++ b/
utils/TableGen/InstrInfoEmitter.cpp
@@
-100,6
+100,10
@@
InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) {
// Ptr value whose register class is resolved via callback.
if (OpR && OpR->getName() == "ptr_rc")
Res += "|M_LOOK_UP_PTR_REG_CLASS";
+
+ // Predicate operands.
+ if (j == 0 && Inst.OperandList[i].Rec->isSubClassOf("PredicateOperand"))
+ Res += "|M_PREDICATE_OPERAND";
// fill in constraint info.
Res += ", " + Inst.OperandList[i].Constraint;