PrasoonMishra wrote: @arsenm @krzysz00 Sorry for the delay. I've updated the patch: - OOB checks are put in `AMDGPUBufferUtils` and is used from both `InstCombine` and `AMDGPULowerBufferFatPointers`. - Renamed the OOB models by `OOB_SELECT` width. - `llvm.amdgcn.make.buffer.rsrc.ll` tests (SDAG/GlobalISel): read_buffer_fat_ptr_p0/p1 use a zero-sized buffer, so on gfx9 the load now folds to 0.
PTAL. https://github.com/llvm/llvm-project/pull/227402 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
