File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1021,7 +1021,8 @@ void CodeGenAction::runOptimizationPipeline(llvm::raw_pwrite_stream &os) {
10211021 llvm::ModulePassManager mpm;
10221022 // The module summary should be emitted by default for regular LTO
10231023 // except for ld64 targets.
1024- bool emitSummary = opts.PrepareForFullLTO && (triple.getVendor () != llvm::Triple::Apple);
1024+ bool emitSummary =
1025+ opts.PrepareForFullLTO && (triple.getVendor () != llvm::Triple::Apple);
10251026 if (opts.PrepareForFatLTO )
10261027 mpm = pb.buildFatLTODefaultPipeline (level, opts.PrepareForThinLTO ,
10271028 emitSummary);
Original file line number Diff line number Diff line change 1212! CHECK-NOT: ^{{.*}} = blockcount:
1313
1414! RUN: %flang -flto=thin %s -c -o - | llvm-dis -o - | FileCheck %s --check-prefix=THIN
15+ ! THIN: define void @_QQmain()
16+ ! THIN-NEXT: ret void
17+ ! THIN-NEXT: }
1518! THIN-NOT: !{{.*}} = !{i32 1, !"ThinLTO", i32 0}
1619! THIN-NOT: ^{{.*}} = module:
1720! THIN-NOT: ^{{.*}} = gv: (name:
You can’t perform that action at this time.
0 commit comments