llvm.org GIT mirror llvm / da83409
Fix comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126645 91177308-0d34-0410-b5e6-96231b3b80d8 Nick Lewycky 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
684684 isPowerOfTwo(SI->getFalseValue(), TD, Depth);
685685
686686 // An exact divide or right shift can only shift off zero bits, so the result
687 // is non-zero only if the first operand is non-zero.
687 // is a power of two only if the first operand is a power of two.
688688 if (match(V, m_Shr(m_Value(), m_Value())) ||
689689 match(V, m_IDiv(m_Value(), m_Value()))) {
690690 BinaryOperator *BO = cast(V);