| # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5 | |
| # RUN: llc -mtriple=amdgpu10.10 -run-pass=si-insert-waitcnts -o - %s | FileCheck %s | |
| --- | | |
| define void @asyncmark_preexisting_waitcnt() { unreachable } | |
| ... | |
| --- | |
| name: asyncmark_preexisting_waitcnt | |
| tracksRegLiveness: true | |
| machineFunctionInfo: | |
| occupancy: 16 | |
| body: | | |
| bb.0: | |
| liveins: $vgpr0 | |
| ; CHECK-LABEL: name: asyncmark_preexisting_waitcnt | |
| ; CHECK: liveins: $vgpr0 | |
| ; CHECK-NEXT: {{ $}} | |
| ; CHECK-NEXT: S_WAITCNT .Vmcnt_0_Expcnt_0_Lgkmcnt_0 | |
| ; CHECK-NEXT: ASYNCMARK .TENSOR.GLOBAL_LOAD_ASYNC_TO_LDS.GLOBAL_LOAD_ASYNC_TO_LDS_MCAST.GLOBAL_STORE_ASYNC_FROM_LDS.BUFFER_GLOBAL_LOAD.RES7d0 | |
| ; CHECK-NEXT: S_ENDPGM 0 | |
| S_WAITCNT_soft 0 | |
| ASYNCMARK 2047 | |
| S_ENDPGM 0 | |
| ... |