[flang-commits] [clang] [flang] [flang][Driver] Enables lto-partitions and fat-lto-object. (PR #158125)
Abid Qadeer via flang-commits
flang-commits at lists.llvm.org
Wed Sep 17 02:51:34 PDT 2025
================
@@ -995,7 +995,12 @@ void CodeGenAction::runOptimizationPipeline(llvm::raw_pwrite_stream &os) {
// Create the pass manager.
llvm::ModulePassManager mpm;
- if (opts.PrepareForFullLTO)
+ if (opts.PrepareForFatLTO) {
+ bool emitSummary = opts.PrepareForThinLTO || opts.PrepareForFullLTO ||
+ triple.getVendor() != llvm::Triple::Apple;
----------------
abidh wrote:
May be add a comment why this llvm::Triple::Apple check is required.
https://github.com/llvm/llvm-project/pull/158125
More information about the flang-commits
mailing list