summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-03-14 13:09:10 +0000
committerMartin Storsjo <martin@martin.st>2018-03-14 13:09:10 +0000
commitbde677289acc188f5f577ecbcb3c066b1d2c8aa8 (patch)
tree04ebf8bae48659752631ccce15ad9e0c739a0248 /llvm/test/CodeGen
parentf0ccaae5bcc2d2501d0ec2f4dfc94d82990e596b (diff)
downloadbcm5719-llvm-bde677289acc188f5f577ecbcb3c066b1d2c8aa8.tar.gz
bcm5719-llvm-bde677289acc188f5f577ecbcb3c066b1d2c8aa8.zip
[AArch64] Don't produce R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC
Support for this relocation is missing in both LLD and GNU binutils at the moment. This reverts the ELF parts of SVN r327316. llvm-svn: 327503
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/AArch64/arm64-tls-execs.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AArch64/arm64-tls-execs.ll b/llvm/test/CodeGen/AArch64/arm64-tls-execs.ll
index fc636d171cf..deced698881 100644
--- a/llvm/test/CodeGen/AArch64/arm64-tls-execs.ll
+++ b/llvm/test/CodeGen/AArch64/arm64-tls-execs.ll
@@ -40,10 +40,11 @@ define i32 @test_local_exec() {
; CHECK: mrs x[[R1:[0-9]+]], TPIDR_EL0
; CHECK: add x[[R2:[0-9]+]], x[[R1]], :tprel_hi12:local_exec_var
-; CHECK: ldr w0, [x[[R2]], :tprel_lo12_nc:local_exec_var]
+; CHECK: add x[[R3:[0-9]+]], x[[R2]], :tprel_lo12_nc:local_exec_var
+; CHECK: ldr w0, [x[[R3]]]
; CHECK-RELOC: R_AARCH64_TLSLE_ADD_TPREL_HI12
-; CHECK-RELOC: R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC
+; CHECK-RELOC: R_AARCH64_TLSLE_ADD_TPREL_LO12_NC
ret i32 %val
}
OpenPOWER on IntegriCloud