summaryrefslogtreecommitdiff
path: root/test/CodeGen/R600/inline-asm.ll
blob: 6f1f977de2a415efe639ec5486029634859a76a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc < %s -march=r600 -mcpu=SI -verify-machineinstrs | FileCheck %s

; CHECK: {{^}}inline_asm:
; CHECK: s_endpgm
; CHECK: s_endpgm
define void @inline_asm(i32 addrspace(1)* %out) {
entry:
  store i32 5, i32 addrspace(1)* %out
  call void asm sideeffect "s_endpgm", ""()
  ret void
}