summaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/CodeGenTarget.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-02 02:29:04 +0000
committerChris Lattner <sabre@nondot.org>2005-01-02 02:29:04 +0000
commit733c82bfbf5abfa4f987913fe5bf143cdcf887ba (patch)
treeab56ffe2dfba70695b379523bb9bd438e2bc22ec /llvm/utils/TableGen/CodeGenTarget.cpp
parenta1a6be7e6e4cb7a390f624e0538246e8d786640a (diff)
Expose isConvertibleToThreeAddress and isCommutable bits to the code generator.
llvm-svn: 19243
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.cpp')
-rw-r--r--llvm/utils/TableGen/CodeGenTarget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp
index 3680f197c491..b9c8bdbb9fa1 100644
--- a/llvm/utils/TableGen/CodeGenTarget.cpp
+++ b/llvm/utils/TableGen/CodeGenTarget.cpp
@@ -217,6 +217,8 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr)
isLoad = R->getValueAsBit("isLoad");
isStore = R->getValueAsBit("isStore");
isTwoAddress = R->getValueAsBit("isTwoAddress");
+ isConvertibleToThreeAddress = R->getValueAsBit("isConvertibleToThreeAddress");
+ isCommutable = R->getValueAsBit("isCommutable");
isTerminator = R->getValueAsBit("isTerminator");
hasDelaySlot = R->getValueAsBit("hasDelaySlot");