xref: /llvm-project/llvm/test/MachineVerifier/convergencectrl/AMDGPU/mixed2.mir (revision 66bd3cd75b32ccfa8d228c200cf4fbf72d49fd1f)
1# RUN: not --crash llc -mtriple=amdgcn -run-pass=none -verify-machineinstrs -o /dev/null %s 2>&1 | FileCheck %s
2---
3name:            mixed2
4body:             |
5  bb.0:
6    %0:sgpr_64 = IMPLICIT_DEF
7    %1:sgpr_64 = SI_CALL %0, 1
8    ; CHECK: Cannot mix controlled and uncontrolled convergence in the same function.
9    ; CHECK: CONVERGENCECTRL_ANCHOR
10    %2:sgpr_64 = CONVERGENCECTRL_ANCHOR
11    ; CHECK: Cannot mix controlled and uncontrolled convergence in the same function.
12    ; CHECK: SI_CALL %{{[0-9]}}:sgpr_64, 2
13    %3:sgpr_64 = SI_CALL %0, 2, implicit %2:sgpr_64
14
15...
16