diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-07-30 22:48:39 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-07-30 22:48:39 +0000 |
commit | 9b8d5860391565a9a916c54a92b477615b347ea7 (patch) | |
tree | f77a14d6d20ddf4535115b54d16b7b23066be2a7 /llvm/utils/TableGen/CodeGenInstruction.cpp | |
parent | 7dc2e4784ed3c2f428c992e36f0022253d0a6590 (diff) | |
download | bcm5719-llvm-9b8d5860391565a9a916c54a92b477615b347ea7.tar.gz bcm5719-llvm-9b8d5860391565a9a916c54a92b477615b347ea7.zip |
Add a "Compare" flag to the target instruction descriptor. This will be used
later to identify and possibly remove superfluous compare instructions -- those
that are testing for and setting a status flag that should already be set.
llvm-svn: 109901
Diffstat (limited to 'llvm/utils/TableGen/CodeGenInstruction.cpp')
-rw-r--r-- | llvm/utils/TableGen/CodeGenInstruction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenInstruction.cpp b/llvm/utils/TableGen/CodeGenInstruction.cpp index 35b54a54271..01a1fe11f53 100644 --- a/llvm/utils/TableGen/CodeGenInstruction.cpp +++ b/llvm/utils/TableGen/CodeGenInstruction.cpp @@ -102,6 +102,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr) isReturn = R->getValueAsBit("isReturn"); isBranch = R->getValueAsBit("isBranch"); isIndirectBranch = R->getValueAsBit("isIndirectBranch"); + isCompare = R->getValueAsBit("isCompare"); isBarrier = R->getValueAsBit("isBarrier"); isCall = R->getValueAsBit("isCall"); canFoldAsLoad = R->getValueAsBit("canFoldAsLoad"); |