ssahasra wrote: > Is this approach better than the stacked PRs (#171952)? Given that this is an incremental change to SIInsertWaitcnts compared to a whole new analysis shoehorned into the same pass, this smells right to me! https://github.com/llvm/llvm-project/pull/172728