1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=amdgcn -run-pass none -o - %s | FileCheck %s
5 # Completely invalid code, but it checks that noconvergent round-trips properly.
10 ; CHECK-LABEL: name: use_noconvergent
11 ; CHECK: [[DEF:%[0-9]+]]:sreg_64 = IMPLICIT_DEF
12 ; CHECK-NEXT: [[SI_CALL:%[0-9]+]]:sreg_64 = SI_CALL [[DEF]], 1, csr_amdgpu
13 ; CHECK-NEXT: [[SI_CALL]]:sreg_64 = noconvergent SI_CALL [[DEF]], 2, csr_amdgpu
14 %0:sreg_64 = IMPLICIT_DEF
15 %1:sreg_64 = SI_CALL %0, 1, csr_amdgpu
16 %1:sreg_64 = noconvergent SI_CALL %0, 2, csr_amdgpu