Mercurial > hg > CbC > CbC_llvm
view test/CodeGen/AMDGPU/llvm.SI.sendmsg.ll @ 100:7d135dc70f03 LLVM 3.9
LLVM 3.9
author | Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 22:53:40 +0900 |
parents | afa8332a0e37 |
children | 1172e4bd9c6f |
line wrap: on
line source
;RUN: llc < %s -march=amdgcn -mcpu=verde -verify-machineinstrs | FileCheck %s ;RUN: llc < %s -march=amdgcn -mcpu=tonga -verify-machineinstrs | FileCheck %s ; CHECK-LABEL: {{^}}main: ; CHECK: s_mov_b32 m0, 0 ; CHECK-NOT: s_mov_b32 m0 ; CHECK: s_sendmsg Gs(emit stream 0) ; CHECK: s_sendmsg Gs(cut stream 1) ; CHECK: s_sendmsg Gs(emit-cut stream 2) ; CHECK: s_sendmsg Gs_done(nop) define void @main() { main_body: call void @llvm.SI.sendmsg(i32 34, i32 0); call void @llvm.SI.sendmsg(i32 274, i32 0); call void @llvm.SI.sendmsg(i32 562, i32 0); call void @llvm.SI.sendmsg(i32 3, i32 0); ret void } ; Function Attrs: nounwind declare void @llvm.SI.sendmsg(i32, i32) #0 attributes #0 = { nounwind }