[llvm] AMDGPU: Make s_wait_samplecnt(_bvhcnt) dependent on hasImageInsts, NFC (PR #83932)
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 5 01:24:25 PST 2024
rampitec 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.
Yes.
https://github.com/llvm/llvm-project/pull/83932
More information about the llvm-commits
mailing list