1 ;RUN: llc < %s -march=amdgcn -mcpu=verde -verify-machineinstrs | FileCheck %s
2 ;RUN: llc < %s -march=amdgcn -mcpu=tonga -verify-machineinstrs | FileCheck %s
4 ; CHECK-LABEL: {{^}}main:
5 ; CHECK: s_sendmsg Gs(emit stream 0)
6 ; CHECK: s_sendmsg Gs(cut stream 1)
7 ; CHECK: s_sendmsg Gs(emit-cut stream 2)
8 ; CHECK: s_sendmsg Gs_done(nop)
12 call void @llvm.SI.sendmsg(i32 34, i32 0);
13 call void @llvm.SI.sendmsg(i32 274, i32 0);
14 call void @llvm.SI.sendmsg(i32 562, i32 0);
15 call void @llvm.SI.sendmsg(i32 3, i32 0);
19 ; Function Attrs: nounwind
20 declare void @llvm.SI.sendmsg(i32, i32) #0
22 attributes #0 = { nounwind }