From: Evan Cheng Date: Tue, 8 May 2007 21:06:08 +0000 (+0000) Subject: PredicateOperand can be used as a normal operand for isel. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f88b3a5698dc419f5f2c48e39e4058577599fa00;p=oota-llvm.git PredicateOperand can be used as a normal operand for isel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36947 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index e43b33921b7..bbddad2d0ac 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.td +++ b/lib/Target/PowerPC/PPCInstrInfo.td @@ -272,7 +272,7 @@ def memrix : Operand { // memri where the imm is shifted 2 bits. // PowerPC Predicate operand. 20 = (0<<5)|20 = always, CR0 is a dummy reg // that doesn't matter. -def pred : PredicateOperand<(ops imm, CRRC), (ops (i32 20), CR0)> { +def pred : PredicateOperand { let PrintMethod = "printPredicateOperand"; } diff --git a/lib/Target/Target.td b/lib/Target/Target.td index f98c414d34c..d7723a546f1 100644 --- a/lib/Target/Target.td +++ b/lib/Target/Target.td @@ -254,7 +254,7 @@ def i64imm : Operand; /// instruction. OpTypes specifies the MIOperandInfo for the operand, and /// AlwaysVal specifies the value of this predicate when set to "always /// execute". -class PredicateOperand : Operand { +class PredicateOperand : Operand { let MIOperandInfo = OpTypes; dag ExecuteAlways = AlwaysVal; }