summaryrefslogtreecommitdiff
path: root/utils/TableGen/InstrInfoEmitter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-06-06 10:14:55 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-06-06 10:14:55 +0000
commitb5c1c9c8e30d8498cdb2d0ee215f05ca8dc3e4e2 (patch)
treebc84b17f9ec7ac784b8043c73e3bab8ccf21f891 /utils/TableGen/InstrInfoEmitter.cpp
parentf94ab6a6620d4a629f46fd764742db0331e6470f (diff)
downloadllvm-b5c1c9c8e30d8498cdb2d0ee215f05ca8dc3e4e2.tar.gz
llvm-b5c1c9c8e30d8498cdb2d0ee215f05ca8dc3e4e2.tar.bz2
llvm-b5c1c9c8e30d8498cdb2d0ee215f05ca8dc3e4e2.tar.xz
Add clobbersPred - instruction that clobbers condition code / register which are used to predicate instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37465 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/InstrInfoEmitter.cpp')
-rw-r--r--utils/TableGen/InstrInfoEmitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/InstrInfoEmitter.cpp b/utils/TableGen/InstrInfoEmitter.cpp
index 090c35b01b..df25f25013 100644
--- a/utils/TableGen/InstrInfoEmitter.cpp
+++ b/utils/TableGen/InstrInfoEmitter.cpp
@@ -241,6 +241,7 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num,
if (Inst.isCommutable) OS << "|M_COMMUTABLE";
if (Inst.isTerminator) OS << "|M_TERMINATOR_FLAG";
if (Inst.isReMaterializable) OS << "|M_REMATERIALIZIBLE";
+ if (Inst.clobbersPred) OS << "|M_CLOBBERS_PRED";
if (Inst.usesCustomDAGSchedInserter)
OS << "|M_USES_CUSTOM_DAG_SCHED_INSERTION";
if (Inst.hasVariableNumberOfOperands)