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 /include/llvm/Target/Target.td | |
parent | 38cb1381b5ec8c75242650491c2b8e7e8a302665 (diff) | |
download | external_llvm-1844b1a5a483b8f01f29500a8d0d552447cbb7e5.zip external_llvm-1844b1a5a483b8f01f29500a8d0d552447cbb7e5.tar.gz external_llvm-1844b1a5a483b8f01f29500a8d0d552447cbb7e5.tar.bz2 |
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 'include/llvm/Target/Target.td')
-rw-r--r-- | include/llvm/Target/Target.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Target/Target.td b/include/llvm/Target/Target.td index ad1a816..809e088 100644 --- a/include/llvm/Target/Target.td +++ b/include/llvm/Target/Target.td @@ -198,6 +198,7 @@ class Instruction { bit isReturn = 0; // Is this instruction a return instruction? bit isBranch = 0; // Is this instruction a branch instruction? bit isIndirectBranch = 0; // Is this instruction an indirect branch? + bit isCompare = 0; // Is this instruction a comparison instruction? bit isBarrier = 0; // Can control flow fall through this instruction? bit isCall = 0; // Is this instruction a call instruction? bit canFoldAsLoad = 0; // Can this be folded as a simple memory operand? |