1 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
2 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=hawaii -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
3 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
5 define void @void_func_void() #2 {
9 ; GCN-LABEL: {{^}}test_call_void_func_void:
10 define amdgpu_kernel void @test_call_void_func_void() {
11 call void @void_func_void()
15 define void @void_func_void_clobber_s40_s41() #2 {
16 call void asm sideeffect "", "~{s[40:41]}"() #0
20 define amdgpu_kernel void @test_call_void_func_void_clobber_s40_s41() {
21 call void @void_func_void_clobber_s40_s41()
25 attributes #0 = { nounwind }
26 attributes #1 = { nounwind readnone }
27 attributes #2 = { nounwind noinline }