Reapply Gabor's 113839, 113840, and 113876 with a fix for a problem
authorBob Wilson <bob.wilson@apple.com>
Wed, 15 Sep 2010 17:12:08 +0000 (17:12 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 15 Sep 2010 17:12:08 +0000 (17:12 +0000)
commit3a951829fef6a2cfca87611e94cf48e0136f81d5
tree797976a4d834de91b2be993e94ff9ff97a11b47e
parent7602993f2dc0a33d04cf5582cdf0cf515896ea7c
Reapply Gabor's 113839, 113840, and 113876 with a fix for a problem
encountered while building llvm-gcc for arm.  This is probably the same issue
that the ppc buildbot hit. llvm::prior works on a MachineBasicBlock::iterator,
not a plain MachineInstr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113983 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp
test/CodeGen/ARM/arm-and-tst-peephole.ll