From: Chris Lattner Date: Fri, 3 Nov 2006 23:52:18 +0000 (+0000) Subject: initial steps to getting the predicate on PPC::BLR right. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=60a09a5d6d9205ee68d2864504a5b0f6835bbf8b;p=oota-llvm.git initial steps to getting the predicate on PPC::BLR right. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31437 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Target.td b/lib/Target/Target.td index f146ed35c7d..0f2b0348bef 100644 --- a/lib/Target/Target.td +++ b/lib/Target/Target.td @@ -222,6 +222,17 @@ def i16imm : Operand; def i32imm : Operand; def i64imm : Operand; + +/// 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 : Operand { + 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. //