diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2017-12-01 12:02:59 +0000 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2017-12-01 12:02:59 +0000 |
commit | a2040d55d7886236077ca43f540586199826167a (patch) | |
tree | 343e48cd1bceb230c3b2e099d12ce10508c55ec0 /test/CodeGen/PowerPC | |
parent | b0efc4fd6672f27ae2cbf28ef290d25a0da1dc08 (diff) |
Follow-up to r319434 to turn the pass on by default
Now that the patch has gone through the buildbot cycle,
turn it on by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319535 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC')
-rw-r--r-- | test/CodeGen/PowerPC/memcmp.ll | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/CodeGen/PowerPC/memcmp.ll b/test/CodeGen/PowerPC/memcmp.ll index 36ba5256bec..392be4d712c 100644 --- a/test/CodeGen/PowerPC/memcmp.ll +++ b/test/CodeGen/PowerPC/memcmp.ll @@ -6,11 +6,12 @@ define signext i32 @memcmp8(i32* nocapture readonly %buffer1, i32* nocapture rea ; CHECK: # BB#0: ; CHECK-NEXT: ldbrx 3, 0, 3 ; CHECK-NEXT: ldbrx 4, 0, 4 -; CHECK-NEXT: li 5, 0 -; CHECK-NEXT: cmpld 3, 4 -; CHECK-NEXT: li 3, 1 -; CHECK-NEXT: isel 4, 3, 5, 1 -; CHECK-NEXT: isel 3, 3, 5, 0 +; CHECK-NEXT: subfc 5, 3, 4 +; CHECK-NEXT: subfe 5, 4, 4 +; CHECK-NEXT: subfc 4, 4, 3 +; CHECK-NEXT: subfe 3, 3, 3 +; CHECK-NEXT: neg 4, 5 +; CHECK-NEXT: neg 3, 3 ; CHECK-NEXT: subf 3, 3, 4 ; CHECK-NEXT: extsw 3, 3 ; CHECK-NEXT: blr |