Code clean up. The peephole pass should be the one updating the instruction
authorEvan Cheng <evan.cheng@apple.com>
Mon, 15 Nov 2010 21:20:45 +0000 (21:20 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 15 Nov 2010 21:20:45 +0000 (21:20 +0000)
commiteb96a2f6c03c0ec97c56a3493ac38024afacc774
treef76b83559915a2c32d90761a4b5b7289d2e7004a
parent2c4c45deb6a7a8521f6039e3da9688be4cac09d2
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
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/PeepholeOptimizer.cpp
lib/Target/ARM/ARMBaseInstrInfo.cpp
lib/Target/ARM/ARMBaseInstrInfo.h