diff options
| author | Stefan Pintilie <stefanp@ca.ibm.com> | 2018-11-16 19:24:23 +0000 |
|---|---|---|
| committer | Stefan Pintilie <stefanp@ca.ibm.com> | 2018-11-16 19:24:23 +0000 |
| commit | 9004444d815579e01c393553f598ffbe9da4564b (patch) | |
| tree | f963857e760145859cf56c638ad821f95f3612eb /llvm/test/CodeGen/PowerPC/testComparesllequc.ll | |
| parent | cf2360fa8630d8d2c67ea3d4de75a3ca2df0b8e4 (diff) | |
| download | bcm5719-llvm-9004444d815579e01c393553f598ffbe9da4564b.tar.gz bcm5719-llvm-9004444d815579e01c393553f598ffbe9da4564b.zip | |
Revert "[PowerPC] Make no-PIC default to match GCC - LLVM"
This reverts commit r347069
llvm-svn: 347076
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/testComparesllequc.ll')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/testComparesllequc.ll | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/llvm/test/CodeGen/PowerPC/testComparesllequc.ll b/llvm/test/CodeGen/PowerPC/testComparesllequc.ll index 294ebdcb6c7..85523f05fb8 100644 --- a/llvm/test/CodeGen/PowerPC/testComparesllequc.ll +++ b/llvm/test/CodeGen/PowerPC/testComparesllequc.ll @@ -68,11 +68,12 @@ entry: define void @test_llequc_store(i8 zeroext %a, i8 zeroext %b) { ; CHECK-LABEL: test_llequc_store: ; CHECK: # %bb.0: # %entry +; CHECK-NEXT: addis r5, r2, .LC0@toc@ha ; CHECK-NEXT: xor r3, r3, r4 -; CHECK-NEXT: addis r5, r2, glob@toc@ha +; CHECK-NEXT: ld r4, .LC0@toc@l(r5) ; CHECK-NEXT: cntlzw r3, r3 ; CHECK-NEXT: srwi r3, r3, 5 -; CHECK-NEXT: stb r3, glob@toc@l(r5) +; CHECK-NEXT: stb r3, 0(r4) ; CHECK-NEXT: blr entry: %cmp = icmp eq i8 %a, %b @@ -85,12 +86,13 @@ entry: define void @test_llequc_sext_store(i8 zeroext %a, i8 zeroext %b) { ; CHECK-LABEL: test_llequc_sext_store: ; CHECK: # %bb.0: # %entry +; CHECK-NEXT: addis r5, r2, .LC0@toc@ha ; CHECK-NEXT: xor r3, r3, r4 -; CHECK-NEXT: addis r5, r2, glob@toc@ha ; CHECK-NEXT: cntlzw r3, r3 +; CHECK-NEXT: ld r4, .LC0@toc@l(r5) ; CHECK-NEXT: srwi r3, r3, 5 ; CHECK-NEXT: neg r3, r3 -; CHECK-NEXT: stb r3, glob@toc@l(r5) +; CHECK-NEXT: stb r3, 0(r4) ; CHECK-NEXT: blr entry: %cmp = icmp eq i8 %a, %b @@ -103,10 +105,11 @@ entry: define void @test_llequc_z_store(i8 zeroext %a) { ; CHECK-LABEL: test_llequc_z_store: ; CHECK: # %bb.0: # %entry +; CHECK-NEXT: addis r4, r2, .LC0@toc@ha ; CHECK-NEXT: cntlzw r3, r3 -; CHECK-NEXT: addis r4, r2, glob@toc@ha +; CHECK-NEXT: ld r4, .LC0@toc@l(r4) ; CHECK-NEXT: srwi r3, r3, 5 -; CHECK-NEXT: stb r3, glob@toc@l(r4) +; CHECK-NEXT: stb r3, 0(r4) ; CHECK-NEXT: blr entry: %cmp = icmp eq i8 %a, 0 @@ -119,11 +122,12 @@ entry: define void @test_llequc_sext_z_store(i8 zeroext %a) { ; CHECK-LABEL: test_llequc_sext_z_store: ; CHECK: # %bb.0: # %entry +; CHECK-NEXT: addis r4, r2, .LC0@toc@ha ; CHECK-NEXT: cntlzw r3, r3 -; CHECK-NEXT: addis r4, r2, glob@toc@ha +; CHECK-NEXT: ld r4, .LC0@toc@l(r4) ; CHECK-NEXT: srwi r3, r3, 5 ; CHECK-NEXT: neg r3, r3 -; CHECK-NEXT: stb r3, glob@toc@l(r4) +; CHECK-NEXT: stb r3, 0(r4) ; CHECK-NEXT: blr entry: %cmp = icmp eq i8 %a, 0 |

