[llvm] [AMDGPU][ASAN] Remove amdgpu-no-flat-scratch-init attribute from lowered kernels in amdgpu-sw-lower-lds pass (PR #160541)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 25 08:15:20 PDT 2025


b-sumner wrote:

> You need to change the language in the runtime build. We also could do a better job emitting cleaner IR in clang, but you need to change the language to make it structurally impossible to require the addrspacecast

We can't simply change the way the runtime is built.  There are functions that must accept generic pointers.  Removing an incorrectly added attribute seems like the right way to go.  Do you disagree that the attribute has become incorrect?

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


More information about the llvm-commits mailing list