diff options
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/hsa-globals.ll')
-rw-r--r-- | llvm/test/CodeGen/AMDGPU/hsa-globals.ll | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/hsa-globals.ll b/llvm/test/CodeGen/AMDGPU/hsa-globals.ll index b6483f0970b..1d76c40c042 100644 --- a/llvm/test/CodeGen/AMDGPU/hsa-globals.ll +++ b/llvm/test/CodeGen/AMDGPU/hsa-globals.ll @@ -47,12 +47,12 @@ define void @test() { ; ASM: .long 0 ; ASM: .amdgpu_hsa_module_global internal_readonly -; ASM: .hsarodata_readonly_agent +; ASM: .hsatext ; ASM: internal_readonly: ; ASM: .long 0 ; ASM: .amdgpu_hsa_program_global external_readonly -; ASM: .hsarodata_readonly_agent +; ASM: .hsatext ; ASM: external_readonly: ; ASM: .long 0 @@ -77,15 +77,6 @@ define void @test() { ; ELF: ] ; ELF: } -; ELF: Section { -; ELF: Name: .hsarodata_readonly_agent -; ELF: Type: SHT_PROGBITS (0x1) -; ELF: Flags [ (0xA00002) -; ELF: SHF_ALLOC (0x2) -; ELF: SHF_AMDGPU_HSA_AGENT (0x800000) -; ELF: SHF_AMDGPU_HSA_READONLY (0x200000) -; ELF: ] - ; ELF: Symbol { ; ELF: Name: common_global_agent ; ELF: Binding: Local @@ -116,7 +107,7 @@ define void @test() { ; ELF: Name: internal_readonly ; ELF: Binding: Local ; ELF: Type: Object -; ELF: Section: .hsarodata_readonly_agent +; ELF: Section: .hsatext ; ELF: } ; ELF: Symbol { @@ -137,5 +128,5 @@ define void @test() { ; ELF: Name: external_readonly ; ELF: Binding: Global ; ELF: Type: Object -; ELF: Section: .hsarodata_readonly_agent +; ELF: Section: .hsatext ; ELF: } |