From: Jingu Kang Date: Wed, 7 Apr 2021 13:22:32 +0000 (+0100) Subject: [NPM] Fix typo inisLTOPreLink for loop rotate X-Git-Tag: llvmorg-14-init~10232 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=798b0fd36b48f55fa9eb7c2b449179d9af2f9b63;p=platform%2Fupstream%2Fllvm.git [NPM] Fix typo inisLTOPreLink for loop rotate Differential Revision: https://reviews.llvm.org/D100033 --- diff --git a/llvm/lib/Passes/PassBuilder.cpp b/llvm/lib/Passes/PassBuilder.cpp index 5a22852..6307e468 100644 --- a/llvm/lib/Passes/PassBuilder.cpp +++ b/llvm/lib/Passes/PassBuilder.cpp @@ -519,7 +519,7 @@ static void addAnnotationRemarksPass(ModulePassManager &MPM) { // Helper to check if the current compilation phase is preparing for LTO static bool isLTOPreLink(ThinOrFullLTOPhase Phase) { return Phase == ThinOrFullLTOPhase::ThinLTOPreLink || - Phase == ThinOrFullLTOPhase::ThinLTOPreLink; + Phase == ThinOrFullLTOPhase::FullLTOPreLink; } // TODO: Investigate the cost/benefit of tail call elimination on debugging.