diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-11-15 21:20:45 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-11-15 21:20:45 +0000 |
commit | eb96a2f6c03c0ec97c56a3493ac38024afacc774 (patch) | |
tree | f76b83559915a2c32d90761a4b5b7289d2e7004a /lib/Target/ARM/ARMBaseInstrInfo.h | |
parent | 2c4c45deb6a7a8521f6039e3da9688be4cac09d2 (diff) | |
download | llvm-eb96a2f6c03c0ec97c56a3493ac38024afacc774.tar.gz llvm-eb96a2f6c03c0ec97c56a3493ac38024afacc774.tar.bz2 llvm-eb96a2f6c03c0ec97c56a3493ac38024afacc774.tar.xz |
Code clean up. The peephole pass should be the one updating the instruction
iterator, not TII->OptimizeCompareInstr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119186 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMBaseInstrInfo.h')
-rw-r--r-- | lib/Target/ARM/ARMBaseInstrInfo.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.h b/lib/Target/ARM/ARMBaseInstrInfo.h index c11f02ccb1..c929fce9e7 100644 --- a/lib/Target/ARM/ARMBaseInstrInfo.h +++ b/lib/Target/ARM/ARMBaseInstrInfo.h @@ -344,8 +344,7 @@ public: /// that we can remove a "comparison with zero". virtual bool OptimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg, int CmpMask, int CmpValue, - const MachineRegisterInfo *MRI, - MachineBasicBlock::iterator &MII) const; + const MachineRegisterInfo *MRI) const; virtual unsigned getNumMicroOps(const InstrItineraryData *ItinData, const MachineInstr *MI) const; |