[PATCH] D100033: [LoopRotate] Fix typo for PrepareForLTO
JinGu Kang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 7 06:33:04 PDT 2021
jaykang10 created this revision.
jaykang10 added a reviewer: sanwou01.
Herald added subscribers: hiraditya, inglorion.
jaykang10 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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.335797.patch
Type: text/x-patch
Size: 577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210407/a9a99b53/attachment.bin>
More information about the llvm-commits
mailing list