summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-09-23 23:45:25 +0000
committerOwen Anderson <resistor@mac.com>2010-09-23 23:45:25 +0000
commit2c5df619c412d6382301e362c2e1f3abd57f6f49 (patch)
tree81119d7104d5b5454ba1d065f7943ee7355827c9 /llvm/include
parent7fbbe9a43a2963b964f7775e75424fef8704c7b5 (diff)
downloadbcm5719-llvm-2c5df619c412d6382301e362c2e1f3abd57f6f49.tar.gz
bcm5719-llvm-2c5df619c412d6382301e362c2e1f3abd57f6f49.zip
Revert r114703 and r114702, removing the isConditionalMove flag from instructions. After further
reflection, this isn't going to achieve the purpose I intended it for. Back to the drawing board! llvm-svn: 114710
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Target/Target.td1
-rw-r--r--llvm/include/llvm/Target/TargetInstrDesc.h7
2 files changed, 0 insertions, 8 deletions
diff --git a/llvm/include/llvm/Target/Target.td b/llvm/include/llvm/Target/Target.td
index 7d53123877b..b141a77df4f 100644
--- a/llvm/include/llvm/Target/Target.td
+++ b/llvm/include/llvm/Target/Target.td
@@ -201,7 +201,6 @@ class Instruction {
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 isConditionalMove = 0; // Is this instruction a conditional move instr?
bit canFoldAsLoad = 0; // Can this be folded as a simple memory operand?
bit mayLoad = 0; // Is it possible for this inst to read memory?
bit mayStore = 0; // Is it possible for this inst to write memory?
diff --git a/llvm/include/llvm/Target/TargetInstrDesc.h b/llvm/include/llvm/Target/TargetInstrDesc.h
index ee1ac5ff5d8..a127aed8f6d 100644
--- a/llvm/include/llvm/Target/TargetInstrDesc.h
+++ b/llvm/include/llvm/Target/TargetInstrDesc.h
@@ -99,7 +99,6 @@ namespace TID {
HasOptionalDef,
Return,
Call,
- ConditionalMove,
Barrier,
Terminator,
Branch,
@@ -353,12 +352,6 @@ public:
return Flags & (1 << TID::Compare);
}
- /// isConditionalMove - Return true if this instruction can be considered a
- /// conditional move, like CMOV on X86 or MOVCC on ARM.
- bool isConditionalMove() const {
- return Flags & (1 << TID::ConditionalMove);
- }
-
/// 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.
OpenPOWER on IntegriCloud