aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-07-06 23:21:02 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-07-06 23:21:02 +0000
commit49ce02e408b89766a8d74e8f5e7bdc4d6f426a8c (patch)
treeb07f49fdcd58f21b39e3bf89fc5f8855a47fc144 /lib
parent78e02f78ce68274163e1e63be59abd17aaaf6cbf (diff)
downloadexternal_llvm-49ce02e408b89766a8d74e8f5e7bdc4d6f426a8c.zip
external_llvm-49ce02e408b89766a8d74e8f5e7bdc4d6f426a8c.tar.gz
external_llvm-49ce02e408b89766a8d74e8f5e7bdc4d6f426a8c.tar.bz2
Do away with ImmutablePredicateOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37959 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/Target.td9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/Target/Target.td b/lib/Target/Target.td
index 3d6d836..fa140cc 100644
--- a/lib/Target/Target.td
+++ b/lib/Target/Target.td
@@ -263,20 +263,13 @@ def zero_reg;
/// PredicateOperand - This can be used to define a predicate operand for an
/// instruction. OpTypes specifies the MIOperandInfo for the operand, and
/// AlwaysVal specifies the value of this predicate when set to "always
-/// execute". If isImmutable is true, then the operand should not change
-/// after instruction selection.
+/// execute".
class PredicateOperand<ValueType ty, dag OpTypes, dag AlwaysVal>
: Operand<ty> {
let MIOperandInfo = OpTypes;
- bit isImmutable = 0;
dag DefaultOps = AlwaysVal;
}
-class ImmutablePredicateOperand<ValueType ty, dag OpTypes, dag AlwaysVal>
- : PredicateOperand<ty, OpTypes, AlwaysVal> {
- let isImmutable = 1;
-}
-
/// OptionalDefOperand - This is used to define a optional definition operand
/// for an instruction. DefaultOps is the register the operand represents if none
/// is supplied, e.g. zero_reg.