[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / GlobalISel / irtranslator-amdgcn-sendmsg.ll
blob6487cba23663d0bc814048c6c64a28f46ff91b76
1 ; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 ; RUN: llc -march=amdgcn -O0 -stop-after=irtranslator -global-isel -verify-machineinstrs %s -o - | FileCheck %s
4 declare void @llvm.amdgcn.s.sendmsg(i32 immarg, i32)
6 define amdgpu_ps void @test_sendmsg(i32 inreg %m0) {
7   ; CHECK-LABEL: name: test_sendmsg
8   ; CHECK: bb.1 (%ir-block.0):
9   ; CHECK-NEXT:   liveins: $sgpr0
10   ; CHECK-NEXT: {{  $}}
11   ; CHECK-NEXT:   [[COPY:%[0-9]+]]:_(s32) = COPY $sgpr0
12   ; CHECK-NEXT:   G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.amdgcn.s.sendmsg), 12, [[COPY]](s32)
13   ; CHECK-NEXT:   S_ENDPGM 0
14   call void @llvm.amdgcn.s.sendmsg(i32 12, i32 %m0)
15   ret void