summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/r600-constant-array-fixup.ll
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2019-09-02 14:40:57 +0000
committerJay Foad <jay.foad@gmail.com>2019-09-02 14:40:57 +0000
commit6e18266aa4dd78953557b8614cb9ff260bad7c65 (patch)
tree41f6b1039acd58a35d0308405f4a67f7df7d9c6d /llvm/test/CodeGen/AMDGPU/r600-constant-array-fixup.ll
parent4aa90ea58efbd09de834b2939fee91a47059200d (diff)
downloadbcm5719-llvm-6e18266aa4dd78953557b8614cb9ff260bad7c65.tar.gz
bcm5719-llvm-6e18266aa4dd78953557b8614cb9ff260bad7c65.zip
Partially revert D61491 "AMDGPU: Be explicit about whether the high-word in SI_PC_ADD_REL_OFFSET is 0"
Summary: D61491 caused us to use relocs when they're not strictly necessary, to refer to symbols in the text section. This is a pessimization and it's a problem for some loaders that don't support relocs yet. Reviewers: nhaehnle, arsenm, tpr Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, t-tye, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65813 llvm-svn: 370667
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/r600-constant-array-fixup.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/r600-constant-array-fixup.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/r600-constant-array-fixup.ll b/llvm/test/CodeGen/AMDGPU/r600-constant-array-fixup.ll
index 9383bfb2358..4813960b98a 100644
--- a/llvm/test/CodeGen/AMDGPU/r600-constant-array-fixup.ll
+++ b/llvm/test/CodeGen/AMDGPU/r600-constant-array-fixup.ll
@@ -4,13 +4,13 @@
; CHECK: Relocations [
; CHECK: Section (3) .rel.text {
-; CHECK: 0x58 R_AMDGPU_ABS32 .text 0x0
+; CHECK: 0x58 R_AMDGPU_ABS32 arr 0x0
; CHECK: }
; CHECK: ]
; CHECK: Symbol {
; CHECK: Name: arr (11)
-; CHECK: Value: 0x70
+; CHECK: Value: 0x0
; CHECK: Size: 16
; CHECK: Binding: Local (0x0)
; CHECK: Type: Object (0x1)
OpenPOWER on IntegriCloud