1 ; RUN: llc -mtriple=amdgcn--amdhsa -mcpu=kaveri < %s | FileCheck -check-prefix=HSA %s
2 ; RUN: llc -mtriple=amdgcn--amdhsa -mcpu=kaveri -filetype=obj < %s | llvm-readobj --symbols -S --sd - | FileCheck -check-prefix=ELF %s
7 ; ELF: SHF_EXECINSTR (0x4)
8 ; ELF: AddressAlignment: 32
11 ; HSA: .globl simple_align16
13 define void @simple_align16(ptr addrspace(4) %ptr.out) align 32 {
15 %out = load ptr addrspace(1), ptr addrspace(4) %ptr.out
16 store i32 0, ptr addrspace(1) %out