Modify the comparison optimizations in the peephole optimizer to update the
[oota-llvm.git] / lib / Target / ARM / ARMBaseInstrInfo.h
index f471b6772e77330b9b0d52910ef6ee62cf81c13b..622402eba35342aa86518b1ac41eb5f991980c2c 100644 (file)
@@ -347,7 +347,8 @@ public:
   /// ConvertToSetZeroFlag - Convert the instruction to set the zero flag so
   /// that we can remove a "comparison with zero".
   virtual bool ConvertToSetZeroFlag(MachineInstr *Instr,
-                                    MachineInstr *CmpInstr) const;
+                                    MachineInstr *CmpInstr,
+                                    MachineBasicBlock::iterator &MII) const;
 
   virtual unsigned getNumMicroOps(const MachineInstr *MI,
                                   const InstrItineraryData *ItinData) const;