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