[llvm] [AMDGPU][ASAN] Move infer-address-spaces before amdgpu-sw-lower-lds in pass pipeline (PR #120375)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 23 00:35:19 PST 2024
arsenm wrote:
> With out "infer-address-spaces" pass running prior to the sw-lower-lds pass, it is unable to detect these addrspace(3) memory operations and fail to instrument them.
Then the pass or approach is broken. You cannot rely on this optimization for sanitizers. I still think we should implement pure software LDS lowering rather than having a specific mixed LDS lowering / sanitizer pass
https://github.com/llvm/llvm-project/pull/120375
More information about the llvm-commits
mailing list