Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
101: No need to run `buildO0defaultPipeline` manually. r=ltratt a=ptersilie



Co-authored-by: Lukas Diekmann <lukas.diekmann@gmail.com>
  • Loading branch information
bors[bot] and ptersilie authored Nov 3, 2023
2 parents 65fb1ad + a5d59b7 commit fe25989
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion clang/lib/CodeGen/BackendUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,6 @@ void EmitAssemblyHelper::RunOptimizationPipeline(
}

if (!NewPMPasses.empty()) {
MPM.addPass(PB.buildO0DefaultPipeline(Level, PrepareForThinLTO || PrepareForLTO));
if (auto Err = PB.parsePassPipeline(MPM, NewPMPasses)) {
report_fatal_error(Twine("unable to parse pass pipeline description '") +
NewPMPasses + "': " + toString(std::move(Err)));
Expand Down

0 comments on commit fe25989

Please sign in to comment.