Skip to content

Commit 52296e2

Browse files
committed
[DomCondCache] Remove unused variable (NFC)
1 parent 2922566 commit 52296e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Analysis/DomConditionCache.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ static void findAffectedValues(Value *Cond,
3636

3737
ICmpInst::Predicate Pred;
3838
Value *A;
39-
Constant *C;
40-
if (match(Cond, m_ICmp(Pred, m_Value(A), m_Constant(C)))) {
39+
if (match(Cond, m_ICmp(Pred, m_Value(A), m_Constant()))) {
4140
AddAffected(A);
4241

4342
if (ICmpInst::isEquality(Pred)) {

0 commit comments

Comments
 (0)