diff options
| author | James Molloy <james.molloy@arm.com> | 2016-09-14 09:45:28 +0000 |
|---|---|---|
| committer | James Molloy <james.molloy@arm.com> | 2016-09-14 09:45:28 +0000 |
| commit | 9790d8f81d3d8a8a90040be70a3a897a343f6ed9 (patch) | |
| tree | 7c854a8e6ec55adf7484bca5c518f48e4486a166 /llvm/test/CodeGen/Thumb | |
| parent | 2ec8b1506ad6953e6388e434d97df8754416320e (diff) | |
| download | bcm5719-llvm-9790d8f81d3d8a8a90040be70a3a897a343f6ed9.tar.gz bcm5719-llvm-9790d8f81d3d8a8a90040be70a3a897a343f6ed9.zip | |
Revert "[Thumb] Teach ISel how to lower compares of AND bitmasks efficiently"
This reverts commit r281323. It caused chromium test failures and a selfhost failure.
llvm-svn: 281451
Diffstat (limited to 'llvm/test/CodeGen/Thumb')
| -rw-r--r-- | llvm/test/CodeGen/Thumb/thumb-shrink-wrapping.ll | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/Thumb/thumb-shrink-wrapping.ll b/llvm/test/CodeGen/Thumb/thumb-shrink-wrapping.ll index 6114b72569e..0fa790cd69a 100644 --- a/llvm/test/CodeGen/Thumb/thumb-shrink-wrapping.ll +++ b/llvm/test/CodeGen/Thumb/thumb-shrink-wrapping.ll @@ -650,14 +650,11 @@ define i1 @beq_to_bx(i32* %y, i32 %head) { ; CHECK: tst r3, r4 ; ENABLE-NEXT: pop {r4} -; ENABLE-NEXT: mov r12, r{{.*}} -; ENABLE-NEXT: pop {r0} -; ENABLE-NEXT: mov lr, r0 -; ENABLE-NEXT: mov r0, r12 +; ENABLE-NEXT: pop {r3} +; ENABLE-NEXT: mov lr, r3 ; CHECK-NEXT: beq [[EXIT_LABEL]] ; CHECK: str r1, [r2] -; CHECK: str r3, [r2] ; CHECK-NEXT: movs r0, #0 ; CHECK-NEXT: [[EXIT_LABEL]]: @ %cleanup ; ENABLE-NEXT: bx lr @@ -678,7 +675,6 @@ if.end: if.end4: store i32 %head, i32* %y, align 4 - store volatile i32 %z, i32* %y, align 4 br label %cleanup cleanup: |

