[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCInstrInfo.td
    Chris Lattner 
    sabre at nondot.org
       
    Fri Nov  3 15:53:40 PST 2006
    
    
  
Changes in directory llvm/lib/Target/PowerPC:
PPCInstrInfo.td updated: 1.250 -> 1.251
---
Log message:
Describe PPC predicates, which are a pair of CR# and condition.
---
Diffs of the changes:  (+4 -0)
 PPCInstrInfo.td |    4 ++++
 1 files changed, 4 insertions(+)
Index: llvm/lib/Target/PowerPC/PPCInstrInfo.td
diff -u llvm/lib/Target/PowerPC/PPCInstrInfo.td:1.250 llvm/lib/Target/PowerPC/PPCInstrInfo.td:1.251
--- llvm/lib/Target/PowerPC/PPCInstrInfo.td:1.250	Fri Nov  3 17:46:45 2006
+++ llvm/lib/Target/PowerPC/PPCInstrInfo.td	Fri Nov  3 17:53:25 2006
@@ -255,6 +255,10 @@
   let MIOperandInfo = (ops i32imm, ptr_rc);
 }
 
+// PowerPC Predicate operand.  20 = always, CR0 is a dummy reg that doesn't
+// matter.
+def pred : PredicateOperand<(ops imm, CRRC), (ops 20, CR0)>;
+
 // Define PowerPC specific addressing mode.
 def iaddr  : ComplexPattern<iPTR, 2, "SelectAddrImm",    [], []>;
 def xaddr  : ComplexPattern<iPTR, 2, "SelectAddrIdx",    [], []>;
    
    
More information about the llvm-commits
mailing list