[llvm] [AMDGPU] Use poison instead of undef for non-demanded elements (PR #75914)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 01:35:49 PST 2023


nikic wrote:

> There shouldn't be a reason to prefer undef over poison here. However I'm wondering if it's correct to use undef in the first place. I briefly skimmed the hardware docs for images and I believe the behavior for 0 is to actually act like dmask=1 and return a 0

Are these docs public? I had a hard time finding information on what these intrinsics do.

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


More information about the llvm-commits mailing list