PPC conditional branch predicate does not change after isel.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 5 Jul 2007 07:09:50 +0000 (07:09 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 5 Jul 2007 07:09:50 +0000 (07:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37893 91177308-0d34-0410-b5e6-96231b3b80d8

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";
 }