[llvm] [AMDGPU][Verifier] Limit kill/wqm.demote intrinsics to PS shaders (PR #151922)
Carl Ritson via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 4 02:21:55 PDT 2025
perlfu wrote:
> We should be generalizing kill support. In particular this should work in callable functions. Restricting to a specific entry point is bad
Is there a use case for generalizing it?
Ostensibly it exists to implement discard in PS shaders -- I have not seen a use case outside that.
At a low level it does work in other calling conventions at present, but I don't know if we want to maintain that.
https://github.com/llvm/llvm-project/pull/151922
More information about the llvm-commits
mailing list