[llvm] [AMDGPU] Improve execz branch removal for async load-to-LDS (PR #192341)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 16 07:46:24 PDT 2026
================
@@ -428,7 +452,16 @@ class BranchWeightCostModel {
if (TII.isWaitcnt(MI.getOpcode()))
return false;
- ThenCyclesCost += SchedModel.computeInstrLatency(&MI);
+ // gfx1250 async loads to LDS: use issue cost (1 cycle) instead of the
+ // scheduling model's resource latency so the cost model can remove the
----------------
arsenm wrote:
Why not fix the scheduling model?
https://github.com/llvm/llvm-project/pull/192341
More information about the llvm-commits
mailing list