blob: 37e4486db3803569b6931fde16b119b9e837e233 [file] [log] [blame]
Tom Stellard36930802014-12-03 04:08:00 +00001; RUN: llc < %s -march=r600 -mcpu=SI -verify-machineinstrs | FileCheck %s
Marek Olsak75170772015-01-27 17:27:15 +00002; RUN: llc < %s -march=r600 -mcpu=tonga -verify-machineinstrs | FileCheck %s
Tom Stellard36930802014-12-03 04:08:00 +00003
4; CHECK: {{^}}inline_asm:
5; CHECK: s_endpgm
6; CHECK: s_endpgm
7define void @inline_asm(i32 addrspace(1)* %out) {
8entry:
9 store i32 5, i32 addrspace(1)* %out
10 call void asm sideeffect "s_endpgm", ""()
11 ret void
12}