llvm-project
7f27482a - [AMDGPU][LowerBufferFatPointers] Fix lack of rewrite when loading/storing null (#154128)

Commit
197 days ago
[AMDGPU][LowerBufferFatPointers] Fix lack of rewrite when loading/storing null (#154128) Fixes #154056. The fat buffer lowering pass was erroniously detecting that it did not need to run on functions that only load/store to the null constant (or other such constants). We thought this would be covered by specializing constants out to instructions, but that doesn't account foc trivial constants like null. Therefore, we check the operands of instructions for buffer fat pointers in order to find such constants and ensure the pass runs. --------- Co-authored-by: Nikita Popov <github@npopov.com>
Author
Parents
Loading