[llvm] [AMDGPU] Introduce ASYNC_CNT on GFX1250 (PR #185810)
Pierre van Houtryve via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 11 01:51:11 PDT 2026
================
@@ -2917,6 +2929,10 @@ void SIInsertWaitcnts::updateEventWaitcntAfter(MachineInstr &Inst,
TII->hasModifiersSet(Inst, AMDGPU::OpName::gds)) {
ScoreBrackets->setPendingGDS();
}
+ } else if (SIInstrInfo::usesASYNC_CNT(Inst)) {
+ // Async instructions use flat encoding, so this needs to happen before the
+ // isFLAT() check below.
----------------
Pierre-vh wrote:
Check that inside `isFLAT` ? It'd follow a similar pattern to the other cases (like isLDSDMA)
https://github.com/llvm/llvm-project/pull/185810
More information about the llvm-commits
mailing list