aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopSimplify.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-05-02 12:13:53 +0200
committerNikita Popov <npopov@redhat.com>2023-05-02 12:17:05 +0200
commit5362a0d859d8e96b3f7c0437b7866e17a818a4f7 (patch)
tree77a9d26248ab199bc3654bc1349fd55f365084c8 /llvm/lib/Transforms/Utils/LoopSimplify.cpp
parent41549b535097db923386a64ed769bf450943e6a3 (diff)
downloadllvm-5362a0d859d8e96b3f7c0437b7866e17a818a4f7.zip
llvm-5362a0d859d8e96b3f7c0437b7866e17a818a4f7.tar.gz
llvm-5362a0d859d8e96b3f7c0437b7866e17a818a4f7.tar.bz2
[LCSSA] Remove unused ScalarEvolution argument (NFC)
After D149435, LCSSA formation no longer needs access to ScalarEvolution, so remove the argument from the utilities.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopSimplify.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/LoopSimplify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopSimplify.cpp b/llvm/lib/Transforms/Utils/LoopSimplify.cpp
index 87a0e54..692a872 100644
--- a/llvm/lib/Transforms/Utils/LoopSimplify.cpp
+++ b/llvm/lib/Transforms/Utils/LoopSimplify.cpp
@@ -340,7 +340,7 @@ static Loop *separateNestedLoop(Loop *L, BasicBlock *Preheader,
// We don't need to form LCSSA recursively, because there cannot be uses
// inside a newly created loop of defs from inner loops as those would
// already be a use of an LCSSA phi node.
- formLCSSA(*L, *DT, LI, SE);
+ formLCSSA(*L, *DT, LI);
assert(NewOuter->isRecursivelyLCSSAForm(*DT, *LI) &&
"LCSSA is broken after separating nested loops!");