aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-04 00:35:22 -0700
committerGitHub <noreply@github.com>2025-05-04 00:35:22 -0700
commit6ab7cb78994e1e2ec8adf07517eb3a205fee5be6 (patch)
tree1e097e12e150c4dbccd43aab13735dc501219e3e /llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
parent47f391fd0e1d9ae6a91e625cff5490dd89a8a17e (diff)
downloadllvm-6ab7cb78994e1e2ec8adf07517eb3a205fee5be6.zip
llvm-6ab7cb78994e1e2ec8adf07517eb3a205fee5be6.tar.gz
llvm-6ab7cb78994e1e2ec8adf07517eb3a205fee5be6.tar.bz2
[Transforms] Remove unused local variables (NFC) (#138442)
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp b/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
index 4c6f6f1..c6962e5 100644
--- a/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
+++ b/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
@@ -2762,7 +2762,6 @@ static BranchInst *turnSelectIntoBranch(SelectInst *SI, DominatorTree &DT,
static BranchInst *turnGuardIntoBranch(IntrinsicInst *GI, Loop &L,
DominatorTree &DT, LoopInfo &LI,
MemorySSAUpdater *MSSAU) {
- SmallVector<DominatorTree::UpdateType, 4> DTUpdates;
LLVM_DEBUG(dbgs() << "Turning " << *GI << " into a branch.\n");
BasicBlock *CheckBB = GI->getParent();