PredicateDefOperand -> OptionalDefOperand.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 6 Jul 2007 01:00:49 +0000 (01:00 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 6 Jul 2007 01:00:49 +0000 (01:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37931 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.td

index 3e3b0eeb6c0908499ceab9404d0c86e96381d46d..c609ee6174db2effc25098aad3e7b2be96c322b9 100644 (file)
@@ -292,10 +292,10 @@ def ccop : ImmutablePredicateOperand<OtherVT, (ops i32imm, CCR), (ops)> {
   let PrintMethod = "printPredicateOperand";
 }
 
-// Conditional code result for cmp, etc.
+// Conditional code result for instructions whose 's' bit is set, e.g. subs.
 //
-def cc_out : PredicateDefOperand<OtherVT, (ops CCR), (ops (i32 zero_reg))> {
-  let PrintMethod = "printPredicateOperand";
+def cc_out : OptionalDefOperand<OtherVT, (ops CCR), (ops (i32 zero_reg))> {
+  let PrintMethod = "printSBitModifierOperand";
 }
 
 //===----------------------------------------------------------------------===//