1; RUN: llc < %s -mtriple=amdgcn--amdpal -mcpu=kaveri -filetype=obj | llvm-readobj -symbols -s -sd - | 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 -symbols -s -sd - | 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 5 6; ELF: Section { 7; ELF: Name: .text 8; ELF: Type: SHT_PROGBITS (0x1) 9; ELF: Flags [ (0x6) 10; ELF: SHF_ALLOC (0x2) 11; ELF: SHF_EXECINSTR (0x4) 12; ELF: } 13 14; ELF: SHT_NOTE 15; ELF: Flags [ (0x0) 16; ELF: ] 17 18; ELF: Symbol { 19; ELF: Name: simple 20; ELF: Size: 36 21; ELF: Section: .text (0x2) 22; ELF: } 23 24; GFX10: NumSGPRsForWavesPerEU: 2 25; GFX10: NumVGPRsForWavesPerEU: 1 26 27define amdgpu_kernel void @simple(i32 addrspace(1)* %out) { 28entry: 29 store i32 0, i32 addrspace(1)* %out 30 ret void 31} 32