1 ; RUN: llc < %s -mtriple=amdgcn--amdpal -mcpu=kaveri -filetype=obj | llvm-readobj -S --sd --syms - | FileCheck --check-prefix=ELF %s
2 ; RUN: llc < %s -mtriple=amdgcn--amdpal -mcpu=kaveri | llvm-mc -filetype=obj -triple amdgcn--amdpal -mcpu=kaveri | llvm-readobj -S --sd --syms - | FileCheck %s --check-prefix=ELF
3 ; RUN: llc < %s -mtriple=amdgcn--amdpal -mcpu=gfx1010 -mattr=+wavefrontsize32,-wavefrontsize64 | FileCheck --check-prefix=GFX10 %s
4 ; RUN: llc < %s -mtriple=amdgcn--amdpal -mcpu=gfx1010 -mattr=-wavefrontsize32,+wavefrontsize64 | FileCheck --check-prefix=GFX10 %s
8 ; ELF: Type: SHT_PROGBITS (0x1)
10 ; ELF: SHF_ALLOC (0x2)
11 ; ELF: SHF_EXECINSTR (0x4)
21 ; ELF: Section: .text (0x2)
24 ; GFX10: NumSGPRsForWavesPerEU: 2
25 ; GFX10: NumVGPRsForWavesPerEU: 1
27 define amdgpu_kernel void @simple(i32 addrspace(1)* %out) {
29 store i32 0, i32 addrspace(1)* %out