[PATCH] D100033: [NPM] Fix typo inisLTOPreLink for loop rotate

JinGu Kang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 7 07:09:55 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG798b0fd36b48: [NPM] Fix typo inisLTOPreLink for loop rotate (authored by jaykang10).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100033/new/

https://reviews.llvm.org/D100033

Files:
  llvm/lib/Passes/PassBuilder.cpp


Index: llvm/lib/Passes/PassBuilder.cpp
===================================================================
--- llvm/lib/Passes/PassBuilder.cpp
+++ llvm/lib/Passes/PassBuilder.cpp
@@ -519,7 +519,7 @@
 // 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100033.335805.patch
Type: text/x-patch
Size: 577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210407/8c9b4fcd/attachment.bin>


More information about the llvm-commits mailing list