[llvm] fdaaa87 - [Scalar] Remove an unused variable (#105767)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 22 21:27:56 PDT 2024


Author: Kazu Hirata
Date: 2024-08-22T21:27:53-07:00
New Revision: fdaaa878443285e47a2cbc1b641ac04e2efa7881

URL: https://github.com/llvm/llvm-project/commit/fdaaa878443285e47a2cbc1b641ac04e2efa7881
DIFF: https://github.com/llvm/llvm-project/commit/fdaaa878443285e47a2cbc1b641ac04e2efa7881.diff

LOG: [Scalar] Remove an unused variable (#105767)

The last use was removed by:

  commit 89fe570958f8b82df9a9c3b4c251ecba9753272a
  Author: Philip Reames <listmail at philipreames.com>
  Date:   Tue May 12 23:39:23 2015 +0000

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp

Removed: 
    


################################################################################
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());


        


More information about the llvm-commits mailing list