diff options
author | Nikita Popov <npopov@redhat.com> | 2023-12-08 10:24:39 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-12-08 10:25:04 +0100 |
commit | 52296e25277146bf2643156627971c11cc7f4a37 (patch) | |
tree | 325e46d7b59d8f4e2a36e990d046b2742ed7fc98 | |
parent | 292256673c88a27ce548570b19f401f29e4d0ec1 (diff) | |
download | llvm-52296e25277146bf2643156627971c11cc7f4a37.zip llvm-52296e25277146bf2643156627971c11cc7f4a37.tar.gz llvm-52296e25277146bf2643156627971c11cc7f4a37.tar.bz2 |
[DomCondCache] Remove unused variable (NFC)
-rw-r--r-- | llvm/lib/Analysis/DomConditionCache.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/DomConditionCache.cpp b/llvm/lib/Analysis/DomConditionCache.cpp index 351881f..c7f4cab 100644 --- a/llvm/lib/Analysis/DomConditionCache.cpp +++ b/llvm/lib/Analysis/DomConditionCache.cpp @@ -36,8 +36,7 @@ static void findAffectedValues(Value *Cond, ICmpInst::Predicate Pred; Value *A; - Constant *C; - if (match(Cond, m_ICmp(Pred, m_Value(A), m_Constant(C)))) { + if (match(Cond, m_ICmp(Pred, m_Value(A), m_Constant()))) { AddAffected(A); if (ICmpInst::isEquality(Pred)) { |