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/atomics-constant.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/atomics-constant.ll')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/atomics-constant.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/PowerPC/atomics-constant.ll b/llvm/test/CodeGen/PowerPC/atomics-constant.ll index ac0b16b55f7..559cd9eb656 100644 --- a/llvm/test/CodeGen/PowerPC/atomics-constant.ll +++ b/llvm/test/CodeGen/PowerPC/atomics-constant.ll @@ -8,14 +8,14 @@ target triple = "powerpc64le-unknown-linux-gnu" define i64 @foo() { ; CHECK-LABEL: foo: ; CHECK: # %bb.0: # %entry -; CHECK-NEXT: addis 3, 2, a@toc@ha +; CHECK-NEXT: addis 3, 2, .LC0@toc@ha ; CHECK-NEXT: li 4, 0 -; CHECK-NEXT: addi 3, 3, a@toc@l +; CHECK-NEXT: ld 3, .LC0@toc@l(3) ; CHECK-NEXT: cmpd 7, 4, 4 ; CHECK-NEXT: ld 3, 0(3) -; CHECK-NEXT: li 3, 0 ; CHECK-NEXT: bne- 7, .+4 ; CHECK-NEXT: isync +; CHECK-NEXT: li 3, 0 ; CHECK-NEXT: blr entry: %value = load atomic i64, i64* @a acquire, align 8 |

