diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-08-06 01:36:09 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-08-06 01:36:09 +0000 |
commit | 5b55ff0c1555031c1c85f88d67c3b566750a9319 (patch) | |
tree | e706add1bdaac5ff7de363a241b4d6d84648dc9c /include/llvm | |
parent | e4ddbdfd3cf031034020671d03626f0373fbd5ca (diff) | |
download | external_llvm-5b55ff0c1555031c1c85f88d67c3b566750a9319.zip external_llvm-5b55ff0c1555031c1c85f88d67c3b566750a9319.tar.gz external_llvm-5b55ff0c1555031c1c85f88d67c3b566750a9319.tar.bz2 |
Revert r109901. The implementation of <rdar://problem/7405933> (r110423) doesn't
need the Compare flag after all.
--- Reverse-merging r109901 into '.':
U include/llvm/Target/TargetInstrDesc.h
U include/llvm/Target/Target.td
U utils/TableGen/InstrInfoEmitter.cpp
U utils/TableGen/CodeGenInstruction.cpp
U utils/TableGen/CodeGenInstruction.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110424 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Target/Target.td | 1 | ||||
-rw-r--r-- | include/llvm/Target/TargetInstrDesc.h | 8 |
2 files changed, 1 insertions, 8 deletions
diff --git a/include/llvm/Target/Target.td b/include/llvm/Target/Target.td index 809e088..ad1a816 100644 --- a/include/llvm/Target/Target.td +++ b/include/llvm/Target/Target.td @@ -198,7 +198,6 @@ 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? diff --git a/include/llvm/Target/TargetInstrDesc.h b/include/llvm/Target/TargetInstrDesc.h index 6a08e8f..8f0a6cb 100644 --- a/include/llvm/Target/TargetInstrDesc.h +++ b/include/llvm/Target/TargetInstrDesc.h @@ -105,7 +105,6 @@ namespace TID { IndirectBranch, Predicable, NotDuplicable, - Compare, DelaySlot, FoldableAsLoad, MayLoad, @@ -316,7 +315,7 @@ public: bool isIndirectBranch() const { return Flags & (1 << TID::IndirectBranch); } - + /// isConditionalBranch - Return true if this is a branch which may fall /// through to the next instruction or may transfer control flow to some other /// block. The TargetInstrInfo::AnalyzeBranch method can be used to get more @@ -341,11 +340,6 @@ public: return Flags & (1 << TID::Predicable); } - /// isCompare - Return true if this instruction is a comparison. - bool isCompare() const { - return Flags & (1 << TID::Compare); - } - /// isNotDuplicable - Return true if this instruction cannot be safely /// duplicated. For example, if the instruction has a unique labels attached /// to it, duplicating it would cause multiple definition errors. |