1 ; RUN: llc < %s -march=amdgcn -mcpu=SI -verify-machineinstrs | FileCheck %s
2 ; RUN: llc < %s -march=amdgcn -mcpu=tonga -verify-machineinstrs | FileCheck %s
4 ; CHECK: {{^}}inline_asm:
7 define void @inline_asm(i32 addrspace(1)* %out) {
9 store i32 5, i32 addrspace(1)* %out
10 call void asm sideeffect "s_endpgm", ""()
14 ; CHECK: {{^}}inline_asm_shader:
17 define void @inline_asm_shader() #0 {
19 call void asm sideeffect "s_endpgm", ""()
23 attributes #0 = { "ShaderType"="0" }