summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-09-15 17:12:08 +0000
committerBob Wilson <bob.wilson@apple.com>2010-09-15 17:12:08 +0000
commit3a951829fef6a2cfca87611e94cf48e0136f81d5 (patch)
tree797976a4d834de91b2be993e94ff9ff97a11b47e /test
parent7602993f2dc0a33d04cf5582cdf0cf515896ea7c (diff)
downloadllvm-3a951829fef6a2cfca87611e94cf48e0136f81d5.tar.gz
llvm-3a951829fef6a2cfca87611e94cf48e0136f81d5.tar.bz2
llvm-3a951829fef6a2cfca87611e94cf48e0136f81d5.tar.xz
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
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/ARM/arm-and-tst-peephole.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/arm-and-tst-peephole.ll b/test/CodeGen/ARM/arm-and-tst-peephole.ll
index 77bc9eec1a..8d42a794fe 100644
--- a/test/CodeGen/ARM/arm-and-tst-peephole.ll
+++ b/test/CodeGen/ARM/arm-and-tst-peephole.ll
@@ -17,8 +17,7 @@ tailrecurse: ; preds = %sw.bb, %entry
%tmp2 = load i8** %scevgep5
%0 = ptrtoint i8* %tmp2 to i32
-; CHECK: and lr, r12, #3
-; CHECK-NEXT: tst r12, #3
+; CHECK: ands r12, r12, #3
; CHECK-NEXT: beq LBB0_4
; T2: movs r5, #3