[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
Tue Dec 17 23:55:39 PST 2024


arsenm wrote:

> "amdgpu-sw-lower-lds" pass instruments memory operations on addrspace(3) ptrs. 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.

This sound concerning. Instrumentation should not be dependent on optimizations to work 

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


More information about the llvm-commits mailing list