[llvm] [AMDGPU] Support FLAT_SCRATCH in SILoadStoreOptimizer const offset promotion (PR #212507)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 4 08:55:03 PDT 2026


aobolensk wrote:

> Hi! This comment was generated using [fuzz-fill](https://github.com/ROCm/fuzz-fill), a new tool we're building to help improve LLVM test coverage by spotting lines introduced in a PR that don't yet appear to be exercised by the full test suite, including any tests added in this PR.
> 
> Looking at PR head `8ce99a9cb76b`, we found 1 line added or modified here that we couldn't find a test for:
> 
> 1. https://github.com/llvm/llvm-project/blob/8ce99a9cb76b007cd37d388069ac79f94e135c90/llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp#L2332
> 
> If it makes sense, adding a regression test that validates these lines would be great. And if any of them are already tested and we missed it, we'd love to hear so we can improve the tool. Feel free to give us some feedback on whether this review was useful from your perspective. Thanks!

I have confirmed it locally that this line is used in diffoporder_add_scratch_vgpr test. There is a mistake in the detection

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


More information about the llvm-commits mailing list