Modify the comparison optimizations in the peephole optimizer to update the
authorBill Wendling <isanbard@gmail.com>
Fri, 10 Sep 2010 21:55:43 +0000 (21:55 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 10 Sep 2010 21:55:43 +0000 (21:55 +0000)
commit220e240bdf3235252c2a1fc8fcc5d4b8e8117918
tree30e5da991361c851472bb12f4bb445e4fa6dab10
parent51f5b67395780b8421f4aa6ee998ed51b23dae9d
Modify the comparison optimizations in the peephole optimizer to update the
iterator when an optimization took place. This allows us to do more insane
things with the code than just remove an instruction or two.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113640 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/PeepholeOptimizer.cpp
lib/Target/ARM/ARMBaseInstrInfo.cpp
lib/Target/ARM/ARMBaseInstrInfo.h