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