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(i32 addrspace(1)* addrspace(4)* %ptr.out) align 32 {
15 %out = load i32 addrspace(1)*, i32 addrspace(1)* addrspace(4)* %ptr.out
16 store i32 0, i32 addrspace(1)* %out