Home | History | Annotate | Download | only in AMDGPU
      1 ; RUN: llc < %s -march=amdgcn -mcpu=SI -verify-machineinstrs | FileCheck %s
      2 ; RUN: llc < %s -march=amdgcn -mcpu=tonga -verify-machineinstrs | FileCheck %s
      3 
      4 ; CHECK: {{^}}inline_asm:
      5 ; CHECK: s_endpgm
      6 ; CHECK: s_endpgm
      7 define void @inline_asm(i32 addrspace(1)* %out) {
      8 entry:
      9   store i32 5, i32 addrspace(1)* %out
     10   call void asm sideeffect "s_endpgm", ""()
     11   ret void
     12 }
     13