[llvm] [AMDGPU] Improve selection of ballot.i64 intrinsic in wave32 mode in SelectionDAG. (PR #71556)

Valery Pykhtin via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 23:23:26 PST 2023


vpykhtin wrote:

> I'm confused, InstCombine can't be too late, it runs many times after all IR producers. There's no practical path between the sanitizer passes and the backend where it won't run

I'm sorry, I thought it's machine IR pass. I don't see wavesize type correction for _ballot_ in _GCNTTIImpl::instCombineIntrinsic_, do you beleive it's better to add it there?

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


More information about the llvm-commits mailing list