[llvm] f44f2e0 - [NFC] Fix 'unused' warning
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue May 25 12:24:45 PDT 2021
Author: Vitaly Buka
Date: 2021-05-25T12:23:57-07:00
New Revision: f44f2e0afca994138fd740f8fd43b6d6b3917114
URL: https://github.com/llvm/llvm-project/commit/f44f2e0afca994138fd740f8fd43b6d6b3917114
DIFF: https://github.com/llvm/llvm-project/commit/f44f2e0afca994138fd740f8fd43b6d6b3917114.diff
LOG: [NFC] Fix 'unused' warning
Added:
Modified:
llvm/lib/Analysis/ScalarEvolution.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index a38ea84acd93..cf68317be425 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -12635,7 +12635,7 @@ ScalarEvolution::forgetMemoizedResults(const SCEV *S) {
}
auto RemoveSCEVFromBackedgeMap =
- [S, this](DenseMap<const Loop *, BackedgeTakenInfo> &Map) {
+ [S](DenseMap<const Loop *, BackedgeTakenInfo> &Map) {
for (auto I = Map.begin(), E = Map.end(); I != E;) {
BackedgeTakenInfo &BEInfo = I->second;
if (BEInfo.hasOperand(S))
More information about the llvm-commits
mailing list