brintos

brintos / llvm-project-archived public Read only

0
0
Text · 741 B · 402f4db Raw
26 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=amdgcn -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s -check-prefix=GCN3 4---5name:            test_sendmsg6legalized:       true7regBankSelected: true8tracksRegLiveness: true9 10body:             |11  bb.0:12    liveins: $sgpr013 14    ; GCN-LABEL: name: test_sendmsg15    ; GCN: liveins: $sgpr016    ; GCN-NEXT: {{  $}}17    ; GCN-NEXT: [[COPY:%[0-9]+]]:sreg_32 = COPY $sgpr018    ; GCN-NEXT: $m0 = COPY [[COPY]]19    ; GCN-NEXT: S_SENDMSG 1, implicit $exec, implicit $m020    ; GCN-NEXT: S_ENDPGM 021    %0:sgpr(s32) = COPY $sgpr022    G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.amdgcn.s.sendmsg), 1, %0(s32)23    S_ENDPGM 024 25...26