[clang] [llvm] [PowerPC][AIX] Support #pragma comment copyright for AIX (PR #178184)

Wael Yehia via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 15 10:47:59 PDT 2026


================
@@ -1472,6 +1473,9 @@ PassBuilder::buildModuleOptimizationPipeline(OptimizationLevel Level,
   const bool LTOPreLink = isLTOPreLink(LTOPhase);
   ModulePassManager MPM;
 
+  // Process copyright metadata early, before any optimizations
----------------
w2yehia wrote:

why are we processing the metadata early rather than late (but not as late as link-time LTO)?

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


More information about the cfe-commits mailing list