[llvm-commits] [llvm] r37959 - /llvm/trunk/lib/Target/Target.td
Evan Cheng
evan.cheng at apple.com
Fri Jul 6 16:21:02 PDT 2007
Author: evancheng
Date: Fri Jul 6 18:21:02 2007
New Revision: 37959
URL: http://llvm.org/viewvc/llvm-project?rev=37959&view=rev
Log:
Do away with ImmutablePredicateOperand.
Modified:
llvm/trunk/lib/Target/Target.td
Modified: llvm/trunk/lib/Target/Target.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Target.td?rev=37959&r1=37958&r2=37959&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Target.td (original)
+++ llvm/trunk/lib/Target/Target.td Fri Jul 6 18:21:02 2007
@@ -263,20 +263,13 @@
/// 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.
More information about the llvm-commits
mailing list