diff --git a/lib/Analysis/AssumptionCache.cpp b/lib/Analysis/AssumptionCache.cpp index bc0cdc4c4c7..fdde5eac16b 100644 --- a/lib/Analysis/AssumptionCache.cpp +++ b/lib/Analysis/AssumptionCache.cpp @@ -102,13 +102,12 @@ findAffectedValues(CallInst *CI, } Value *B; - ConstantInt *C; // (A & B) or (A | B) or (A ^ B). if (match(V, m_BitwiseLogic(m_Value(A), m_Value(B)))) { AddAffected(A); AddAffected(B); // (A << C) or (A >>_s C) or (A >>_u C) where C is some constant. - } else if (match(V, m_Shift(m_Value(A), m_ConstantInt(C)))) { + } else if (match(V, m_Shift(m_Value(A), m_ConstantInt()))) { AddAffected(A); } };