[llvm-commits] CVS: llvm/lib/Target/Target.td
Chris Lattner
sabre at nondot.org
Fri Nov 3 15:52:32 PST 2006
Changes in directory llvm/lib/Target:
Target.td updated: 1.88 -> 1.89
---
Log message:
initial steps to getting the predicate on PPC::BLR right.
---
Diffs of the changes: (+11 -0)
Target.td | 11 +++++++++++
1 files changed, 11 insertions(+)
Index: llvm/lib/Target/Target.td
diff -u llvm/lib/Target/Target.td:1.88 llvm/lib/Target/Target.td:1.89
--- llvm/lib/Target/Target.td:1.88 Fri Nov 3 17:50:15 2006
+++ llvm/lib/Target/Target.td Fri Nov 3 17:52:18 2006
@@ -222,6 +222,17 @@
def i32imm : Operand<i32>;
def i64imm : Operand<i64>;
+
+/// 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".
+class PredicateOperand<dag OpTypes, dag AlwaysVal> : Operand<OtherVT> {
+ let MIOperandInfo = OpTypes;
+ dag ExecuteAlways = AlwaysVal;
+}
+
+
// InstrInfo - This class should only be instantiated once to provide parameters
// which are global to the the target machine.
//
More information about the llvm-commits
mailing list