[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h

Evan Cheng evan.cheng at apple.com
Wed May 16 14:51:24 PDT 2007



Changes in directory llvm/include/llvm/Target:

TargetInstrInfo.h updated: 1.118 -> 1.119
---
Log message:

PredicateInstruction returns true if the operation was successful.

---
Diffs of the changes:  (+2 -2)

 TargetInstrInfo.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/include/llvm/Target/TargetInstrInfo.h
diff -u llvm/include/llvm/Target/TargetInstrInfo.h:1.118 llvm/include/llvm/Target/TargetInstrInfo.h:1.119
--- llvm/include/llvm/Target/TargetInstrInfo.h:1.118	Wed May 16 15:43:42 2007
+++ llvm/include/llvm/Target/TargetInstrInfo.h	Wed May 16 16:51:06 2007
@@ -390,8 +390,8 @@
   }
 
   /// PredicateInstruction - Convert the instruction into a predicated
-  /// instruction.
-  virtual void PredicateInstruction(MachineInstr *MI,
+  /// instruction. It returns true if the operation was successful.
+  virtual bool PredicateInstruction(MachineInstr *MI,
                                     std::vector<MachineOperand> &Cond) const;
 
   /// getPointerRegClass - Returns a TargetRegisterClass used for pointer






More information about the llvm-commits mailing list