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 | 1844b1a5a483b8f01f29500a8d0d552447cbb7e5 (patch) | |
tree | a5eef77fdadcfda439021069ad1bb29681b7f883 /utils/TableGen/CodeGenInstruction.cpp | |
parent | 38cb1381b5ec8c75242650491c2b8e7e8a302665 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenInstruction.cpp')
-rw-r--r-- | utils/TableGen/CodeGenInstruction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenInstruction.cpp b/utils/TableGen/CodeGenInstruction.cpp index 35b54a5427..01a1fe11f5 100644 --- a/utils/TableGen/CodeGenInstruction.cpp +++ b/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"); |