diff options
| author | Tom Stellard <thomas.stellard@amd.com> | 2015-09-25 21:41:28 +0000 |
|---|---|---|
| committer | Tom Stellard <thomas.stellard@amd.com> | 2015-09-25 21:41:28 +0000 |
| commit | e135ffd55416a98a634621b99584ece0c19e8003 (patch) | |
| tree | 0e2c114958a67e9acc48b9181754d44e497bf51f /llvm/test/CodeGen/AMDGPU/hsa.ll | |
| parent | 8e0257625dbe290acd1824cb7bd1224991edf132 (diff) | |
| download | bcm5719-llvm-e135ffd55416a98a634621b99584ece0c19e8003.tar.gz bcm5719-llvm-e135ffd55416a98a634621b99584ece0c19e8003.zip | |
AMDGPU/SI: Use .hsatext section instead of .text for HSA
Reviewers: arsenm, grosbach, rafael
Subscribers: arsenm, llvm-commits
Differential Revision: http://reviews.llvm.org/D12424
llvm-svn: 248619
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/hsa.ll')
| -rw-r--r-- | llvm/test/CodeGen/AMDGPU/hsa.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/hsa.ll b/llvm/test/CodeGen/AMDGPU/hsa.ll index 653a6bb1b60..5c749829381 100644 --- a/llvm/test/CodeGen/AMDGPU/hsa.ll +++ b/llvm/test/CodeGen/AMDGPU/hsa.ll @@ -6,6 +6,17 @@ ; The SHT_NOTE section contains the output from the .hsa_code_object_* ; directives. +; ELF: Section { +; ELF: Name: .hsatext +; ELF: Type: SHT_PROGBITS (0x1) +; ELF: Flags [ (0xC00007) +; ELF: SHF_ALLOC (0x2) +; ELF: SHF_AMDGPU_HSA_AGENT (0x800000) +; ELF: SHF_AMDGPU_HSA_CODE (0x400000) +; ELF: SHF_EXECINSTR (0x4) +; ELF: SHF_WRITE (0x1) +; ELF: } + ; ELF: SHT_NOTE ; ELF: 0000: 04000000 08000000 01000000 414D4400 ; ELF: 0010: 01000000 00000000 04000000 1B000000 @@ -17,6 +28,8 @@ ; HSA-CI: .hsa_code_object_isa 7,0,0,"AMD","AMDGPU" ; HSA-VI: .hsa_code_object_isa 8,0,1,"AMD","AMDGPU" +; HSA: .hsatext + ; HSA: {{^}}simple: ; HSA: .amd_kernel_code_t ; HSA: .end_amd_kernel_code_t |

