summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenTarget.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2005-12-04 08:18:16 +0000
committerEvan Cheng <evan.cheng@apple.com>2005-12-04 08:18:16 +0000
commitf02bb9af8b769733d430e5d91c58a6820d4903ea (patch)
treea68819241e080a4a5b28e96383e0e49c3c3876fa /llvm/utils/TableGen/CodeGenTarget.cpp
parente8531381e226a7e47514d5ea632bdc0e879d4b8f (diff)
downloadbcm5719-llvm-f02bb9af8b769733d430e5d91c58a6820d4903ea.tar.gz
bcm5719-llvm-f02bb9af8b769733d430e5d91c58a6820d4903ea.zip
* Commit the fix (by Chris) for a tblgen type inferencing bug.
* Enhanced tblgen to handle instructions which have chain operand and writes a chain result. * Enhanced tblgen to handle instructions which produces no results. Part of the change is a temporary hack which relies on instruction property (e.g. isReturn, isBranch). The proper fix would be to change the .td syntax to separate results dag from ops dag. llvm-svn: 24587
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.cpp')
-rw-r--r--llvm/utils/TableGen/CodeGenTarget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp
index 51aad4fd3bb..fceb61f44c5 100644
--- a/llvm/utils/TableGen/CodeGenTarget.cpp
+++ b/llvm/utils/TableGen/CodeGenTarget.cpp
@@ -268,6 +268,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr)
isTerminator = R->getValueAsBit("isTerminator");
hasDelaySlot = R->getValueAsBit("hasDelaySlot");
usesCustomDAGSchedInserter = R->getValueAsBit("usesCustomDAGSchedInserter");
+ hasCtrlDep = R->getValueAsBit("hasCtrlDep");
hasVariableNumberOfOperands = false;
DagInit *DI;
OpenPOWER on IntegriCloud