aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/CodeGenInstruction.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-09-20 18:22:31 +0000
committerAndrew Trick <atrick@apple.com>2011-09-20 18:22:31 +0000
commit83a8031336a1155e6b0c3e9a84164324e08d1c8b (patch)
treecfefdf37afe51d34e6b53f9581dbe129f5f74606 /utils/TableGen/CodeGenInstruction.cpp
parentf83f0f8246457bf7951bc95dd74ec67cf524b845 (diff)
downloadexternal_llvm-83a8031336a1155e6b0c3e9a84164324e08d1c8b.zip
external_llvm-83a8031336a1155e6b0c3e9a84164324e08d1c8b.tar.gz
external_llvm-83a8031336a1155e6b0c3e9a84164324e08d1c8b.tar.bz2
Restore hasPostISelHook tblgen flag.
No functionality change. The hook makes it explicit which patterns require "special" handling. i.e. it self-documents tblgen deficiencies. I plan to add verification in ExpandISelPseudos and Thumb2SizeReduce to catch any missing hasPostISelHooks. Otherwise it's too fragile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenInstruction.cpp')
-rw-r--r--utils/TableGen/CodeGenInstruction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenInstruction.cpp b/utils/TableGen/CodeGenInstruction.cpp
index b4f9d15..4b25277 100644
--- a/utils/TableGen/CodeGenInstruction.cpp
+++ b/utils/TableGen/CodeGenInstruction.cpp
@@ -309,6 +309,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R) : TheDef(R), Operands(R) {
isReMaterializable = R->getValueAsBit("isReMaterializable");
hasDelaySlot = R->getValueAsBit("hasDelaySlot");
usesCustomInserter = R->getValueAsBit("usesCustomInserter");
+ hasPostISelHook = R->getValueAsBit("hasPostISelHook");
hasCtrlDep = R->getValueAsBit("hasCtrlDep");
isNotDuplicable = R->getValueAsBit("isNotDuplicable");
hasSideEffects = R->getValueAsBit("hasSideEffects");