brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · f52ba70 Raw
34 lines · plain
1; RUN: llc < %s -mtriple=amdgcn--amdpal -mcpu=kaveri -filetype=obj | llvm-readobj -S --sd --syms - | FileCheck --check-prefix=ELF %s2; 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=ELF3; RUN: llc < %s -mtriple=amdgcn--amdpal -mcpu=gfx1010 -mattr=+wavefrontsize32 | FileCheck --check-prefix=GFX10 %s4; RUN: llc < %s -mtriple=amdgcn--amdpal -mcpu=gfx1010 -mattr=+wavefrontsize64 | FileCheck --check-prefix=GFX10 %s5; RUN: llc < %s -mtriple=amdgcn--amdpal -mcpu=gfx1100 -mattr=+wavefrontsize32 | FileCheck --check-prefix=GFX10 %s6; RUN: llc < %s -mtriple=amdgcn--amdpal -mcpu=gfx1100 -mattr=+wavefrontsize64 | FileCheck --check-prefix=GFX10 %s7 8; ELF: Section {9; ELF: Name: .text10; ELF: Type: SHT_PROGBITS (0x1)11; ELF: Flags [ (0x6)12; ELF: SHF_ALLOC (0x2)13; ELF: SHF_EXECINSTR (0x4)14; ELF: }15 16; ELF: SHT_NOTE17; ELF: Flags [ (0x0)18; ELF: ]19 20; ELF: Symbol {21; ELF: Name: simple22; ELF: Size: 3623; ELF: Section: .text (0x2)24; ELF: }25 26; GFX10: NumSGPRsForWavesPerEU: 627; GFX10: NumVGPRsForWavesPerEU: 128 29define amdgpu_kernel void @simple(ptr addrspace(1) %out) {30entry:31  store i32 0, ptr addrspace(1) %out32  ret void33}34