projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove ARM isel hacks that fold large immediates into a pair of add, sub, and,
[oota-llvm.git]
/
test
/
CodeGen
/
ARM
/
arm-and-tst-peephole.ll
diff --git
a/test/CodeGen/ARM/arm-and-tst-peephole.ll
b/test/CodeGen/ARM/arm-and-tst-peephole.ll
index 461150f06d7beb4943c1309b780c8999fb17227f..50c638b73931f91ba91038e4362166a2c995b7cc 100644
(file)
--- a/
test/CodeGen/ARM/arm-and-tst-peephole.ll
+++ b/
test/CodeGen/ARM/arm-and-tst-peephole.ll
@@
-27,9
+27,8
@@
tailrecurse: ; preds = %sw.bb, %entry
; ARM-NEXT: beq
; THUMB: movs r5, #3
-; THUMB-NEXT: mov r6, r4
-; THUMB-NEXT: ands r6, r5
-; THUMB-NEXT: tst r4, r5
+; THUMB-NEXT: ands r5, r4
+; THUMB-NEXT: cmp r5, #0
; THUMB-NEXT: beq
; T2: ands r12, r12, #3