[clang] [clang][fat-lto-objects] Make module flags match non-FatLTO pipelines (PR #83159)

Teresa Johnson via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 27 11:33:23 PST 2024


================
@@ -1036,7 +1041,8 @@ void EmitAssemblyHelper::RunOptimizationPipeline(
   if (!actionRequiresCodeGen(Action) && CodeGenOpts.VerifyModule)
     MPM.addPass(VerifierPass());
 
-  if (Action == Backend_EmitBC || Action == Backend_EmitLL) {
+  if (Action == Backend_EmitBC || Action == Backend_EmitLL ||
+      CodeGenOpts.FatLTO) {
----------------
teresajohnson wrote:

What is the Action type with FatLTO?

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


More information about the cfe-commits mailing list