[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / GlobalISel / inst-select-amdgcn.s.sendmsg.mir
blob1c14b2c39577660129320b70495c413cc10b3aee
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -march=amdgcn -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s -check-prefix=GCN
4 ---
5 name:            test_sendmsg
6 legalized:       true
7 regBankSelected: true
8 tracksRegLiveness: true
10 body:             |
11   bb.0:
12     liveins: $sgpr0
14     ; GCN-LABEL: name: test_sendmsg
15     ; GCN: liveins: $sgpr0
16     ; GCN-NEXT: {{  $}}
17     ; GCN-NEXT: [[COPY:%[0-9]+]]:sreg_32 = COPY $sgpr0
18     ; GCN-NEXT: $m0 = COPY [[COPY]]
19     ; GCN-NEXT: S_SENDMSG 1, implicit $exec, implicit $m0
20     ; GCN-NEXT: S_ENDPGM 0
21     %0:sgpr(s32) = COPY $sgpr0
22     G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.amdgcn.s.sendmsg), 1, %0(s32)
23     S_ENDPGM 0
25 ...