[llvm] AMDGPU: Make s_wait_samplecnt(_bvhcnt) dependent on hasImageInsts, NFC (PR #83932)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 5 01:17:39 PST 2024


jayfoad wrote:

> > This is really stretching the definition of "image instruction", but I guess it's OK.
> 
> I don't see how it makes sense at all?

samplecnt is only used by image-instructions-with-sampler, so I guess it would not exist on an ASIC that does not have any image instructions.

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


More information about the llvm-commits mailing list