================
@@ -995,7 +995,9 @@ void
CodeGenAction::runOptimizationPipeline(llvm::raw_pwrite_stream &os) {
// Create the pass manager.
llvm::ModulePassManager mpm;
- if (opts.PrepareForFullLTO)
+ if (opts.PrepareForFatLTO)
+ mpm = pb.buildFatLTODefaultPipeline(level, opts.PrepareForThinLTO, true);
----------------
tarunprabhu wrote:
Passing `true` as the last argument unconditionally emits a summary. This is
not what clang does. Is this ok for flang?
https://github.com/llvm/llvm-project/pull/158125
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits