source: icGREP/icgrep-devel/llvm-3.6.1.src/test/CodeGen/R600/llvm.SI.sendmsg.ll @ 4664

Last change on this file since 4664 was 4664, checked in by cameron, 4 years ago

Upgrade LLVM to 3.6.1

File size: 658 bytes
Line 
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_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)
9
10define void @main() {
11main_body:
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);
16  ret void
17}
18
19; Function Attrs: nounwind
20declare void @llvm.SI.sendmsg(i32, i32) #0
21
22attributes #0 = { nounwind }
Note: See TracBrowser for help on using the repository browser.