[llvm] [AMDGPU] Make LowerModuleLDS a noop on an already lowered module (PR #217075)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 09:48:31 PDT 2026


================
@@ -1078,17 +1078,23 @@ class AMDGPULowerModuleLDS {
   }
 
   bool runOnModuleNormal(Module &M) {
-    CallGraph CG = CallGraph(M);
     bool Changed = superAlignLDSGlobals(M);
----------------
aobolensk wrote:

that's reasonable, moved it after the early return

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


More information about the llvm-commits mailing list