From afe4a3062d083c9f1b7078a139007e4040b46162 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Mon, 28 Feb 2011 09:18:11 +0000 Subject: [PATCH] Fix comment. llvm-svn: 126645 --- llvm/lib/Analysis/ValueTracking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index 7e208692ac2c..82f4f64fc657 100644 --- a/llvm/lib/Analysis/ValueTracking.cpp +++ b/llvm/lib/Analysis/ValueTracking.cpp @@ -685,7 +685,7 @@ bool llvm::isPowerOfTwo(Value *V, const TargetData *TD, unsigned Depth) { isPowerOfTwo(SI->getFalseValue(), TD, Depth); // An exact divide or right shift can only shift off zero bits, so the result - // is non-zero only if the first operand is non-zero. + // is a power of two only if the first operand is a power of two. if (match(V, m_Shr(m_Value(), m_Value())) || match(V, m_IDiv(m_Value(), m_Value()))) { BinaryOperator *BO = cast(V);