diff options
author | Igor Kudrin <ikudrin@accesssoftek.com> | 2024-02-23 01:05:06 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-23 01:05:06 +0700 |
commit | ec24094b56793478909783c1156fd57ce5ec2006 (patch) | |
tree | 4af6a0d4febf8a2f6815658300ca7d9e310ed398 /llvm/lib/LTO/LTOBackend.cpp | |
parent | ea174c09342275d6c6fec48fb846eaf28fae5b51 (diff) | |
download | llvm-ec24094b56793478909783c1156fd57ce5ec2006.zip llvm-ec24094b56793478909783c1156fd57ce5ec2006.tar.gz llvm-ec24094b56793478909783c1156fd57ce5ec2006.tar.bz2 |
[LTO] Remove Config.UseDefaultPipeline (#82587)
This option is not used. It was added in
[D122133](https://reviews.llvm.org/D122133), 5856f30b, with the only
usage in `ClangLinkerWrapper.cpp`, which was later updated in a1d57fc2,
and then finally removed in [D142650](https://reviews.llvm.org/D142650),
6185246f.
Diffstat (limited to 'llvm/lib/LTO/LTOBackend.cpp')
-rw-r--r-- | llvm/lib/LTO/LTOBackend.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/LTO/LTOBackend.cpp b/llvm/lib/LTO/LTOBackend.cpp index 7b3a759..6cfe677 100644 --- a/llvm/lib/LTO/LTOBackend.cpp +++ b/llvm/lib/LTO/LTOBackend.cpp @@ -330,8 +330,6 @@ static void runNewPMPasses(const Config &Conf, Module &Mod, TargetMachine *TM, report_fatal_error(Twine("unable to parse pass pipeline description '") + Conf.OptPipeline + "': " + toString(std::move(Err))); } - } else if (Conf.UseDefaultPipeline) { - MPM.addPass(PB.buildPerModuleDefaultPipeline(OL)); } else if (IsThinLTO) { MPM.addPass(PB.buildThinLTODefaultPipeline(OL, ImportSummary)); } else { |