[llvm] [AMDGPU] Enable "amdgpu-sw-lower-lds" pass in pipeline. (PR #89206)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 23 03:59:51 PDT 2024


================
@@ -676,6 +676,11 @@ void AMDGPUTargetMachine::registerPassBuilderCallbacks(
 
         if (EarlyInlineAll && !EnableFunctionCalls)
           PM.addPass(AMDGPUAlwaysInlinePass());
+
+#if __has_feature(address_sanitizer)
+        EnableLowerModuleLDS = false;
----------------
skc7 wrote:

With ASAN enabled, #87265 will now lower the LDS. I want to disable "lower-module-lds" pass when lowering is done by the new pass. 
Could you please suggest any other way of disabling the "lower-module-lds" pass instead of setting EnableLowerModuleLDS  to false?

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


More information about the llvm-commits mailing list