summaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeGenInstruction.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-07-30 22:48:39 +0000
committerBill Wendling <isanbard@gmail.com>2010-07-30 22:48:39 +0000
commit1844b1a5a483b8f01f29500a8d0d552447cbb7e5 (patch)
treea5eef77fdadcfda439021069ad1bb29681b7f883 /utils/TableGen/CodeGenInstruction.h
parent38cb1381b5ec8c75242650491c2b8e7e8a302665 (diff)
downloadllvm-1844b1a5a483b8f01f29500a8d0d552447cbb7e5.tar.gz
llvm-1844b1a5a483b8f01f29500a8d0d552447cbb7e5.tar.bz2
llvm-1844b1a5a483b8f01f29500a8d0d552447cbb7e5.tar.xz
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.h')
-rw-r--r--utils/TableGen/CodeGenInstruction.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenInstruction.h b/utils/TableGen/CodeGenInstruction.h
index 946c2d01a5..b02d0d38f9 100644
--- a/utils/TableGen/CodeGenInstruction.h
+++ b/utils/TableGen/CodeGenInstruction.h
@@ -123,6 +123,7 @@ namespace llvm {
bool isReturn;
bool isBranch;
bool isIndirectBranch;
+ bool isCompare;
bool isBarrier;
bool isCall;
bool canFoldAsLoad;