I've already witnessed two separate changes missing runNewPMPasses()
because runNewPMCustomPasses() is so similar.
This cleans up some duplicated code.
Differential D96553
[NFC] Combine runNewPMPasses() and runNewPMCustomPasses() aeubanks on Feb 11 2021, 2:38 PM. Authored by
Details I've already witnessed two separate changes missing runNewPMPasses() This cleans up some duplicated code.
Diff Detail
Unit Tests Event TimelineComment Actions Weird, I guess I neglected to save it. Added it below.
Comment Actions lgtm
Comment Actions Don't know why no buildbot has caught it, but I think (haven't bisected yet, but this seems like the most likely culprit) this broke LLVM :: tools/llvm-lto2/X86/pipeline.ll lld :: ELF/lto/ltopasses-custom.ll It seems that now, in both of these cases has changed to Comment Actions Sorry about the breakages, I forgot that some people still have the legacy PM on by default. |
Will setting the PGOOpt and passing down to the PassBuilder cause an issue for the custom case?