[llvm-branch-commits] [llvm] [AMDGPU][Attributor] Rework update of `AAAMDWavesPerEU` (PR #123995)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Feb 22 18:07:16 PST 2025


arsenm wrote:

> Out of curiosity: I believe this is case three, why would we not want to use the user-provided values?

A library use does not have the usage context. It may have specified a bounds to avoid negatively impacting occupancy of some unknown calling kernel. If we know the bounds of the concrete calling kernels, the function should specialize for its bound 

https://github.com/llvm/llvm-project/pull/123995


More information about the llvm-branch-commits mailing list