Skip to content

Commit fe25989

Browse files
bors[bot]ptersilie
andauthored
101: No need to run `buildO0defaultPipeline` manually. r=ltratt a=ptersilie Co-authored-by: Lukas Diekmann <[email protected]>
2 parents 65fb1ad + a5d59b7 commit fe25989

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/lib/CodeGen/BackendUtil.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,6 @@ void EmitAssemblyHelper::RunOptimizationPipeline(
10271027
}
10281028

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

0 commit comments

Comments
 (0)