PPC conditional branch predicate does not change after isel.
[oota-llvm.git] / lib / Target / PowerPC / PPCInstrInfo.td
index bbddad2d0acea0f3fcc33f86687a21c161745aeb..4ffde0a97faa82482364e80c4ecdaeccfefd9264 100644 (file)
@@ -272,7 +272,8 @@ def memrix : Operand<iPTR> {   // 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<OtherVT, (ops imm, CRRC), (ops (i32 20), CR0)> {
+def pred : ImmutablePredicateOperand<OtherVT, (ops imm, CRRC),
+                                              (ops (i32 20), CR0)> {
   let PrintMethod = "printPredicateOperand";
 }