[llvm] [Scalar] Remove an unused variable (PR #105767)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 22 19:02:35 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-transforms
Author: Kazu Hirata (kazutakahirata)
<details>
<summary>Changes</summary>
The last use was removed by:
commit 89fe570958f8b82df9a9c3b4c251ecba9753272a
Author: Philip Reames <listmail@<!-- -->philipreames.com>
Date: Tue May 12 23:39:23 2015 +0000
---
Full diff: https://github.com/llvm/llvm-project/pull/105767.diff
1 Files Affected:
- (modified) llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp (-1)
``````````diff
diff --git a/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp b/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
index 77d67a2ce0f380..bf86be0dd387f0 100644
--- a/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
+++ b/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
@@ -342,7 +342,6 @@ bool PlaceSafepointsPass::runImpl(Function &F, const TargetLibraryInfo &TLI) {
// The split loop structure here is so that we only need to recalculate
// the dominator tree once. Alternatively, we could just keep it up to
// date and use a more natural merged loop.
- SetVector<BasicBlock *> SplitBackedges;
for (BasicBlock *Header : Headers) {
BasicBlock *NewBB = SplitEdge(Term->getParent(), Header, &DT);
PollsNeeded.push_back(NewBB->getTerminator());
``````````
</details>
https://github.com/llvm/llvm-project/pull/105767
More information about the llvm-commits
mailing list