diff options
| author | Owen Anderson <resistor@mac.com> | 2010-01-17 06:49:03 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2010-01-17 06:49:03 +0000 |
| commit | fa1edea9cebc2a86b8b8350caf9ff3a73d0fe269 (patch) | |
| tree | 2ae729a0846b50949857093936d17c87027e2d18 /llvm/lib | |
| parent | 9349437c65d48cbc69aa79d3780b6d99de50d1b3 (diff) | |
| download | bcm5719-llvm-fa1edea9cebc2a86b8b8350caf9ff3a73d0fe269.tar.gz bcm5719-llvm-fa1edea9cebc2a86b8b8350caf9ff3a73d0fe269.zip | |
Fix comment.
llvm-svn: 93679
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp b/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp index 6afc0cdf536..2e26a75b2ad 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp @@ -407,7 +407,7 @@ Instruction *InstCombiner::visitUDiv(BinaryOperator &I) { return Common; if (ConstantInt *C = dyn_cast<ConstantInt>(Op1)) { - // X udiv C^2 -> X >> C + // X udiv 2^C -> X >> C // Check to see if this is an unsigned division with an exact power of 2, // if so, convert to a right shift. if (C->getValue().isPowerOf2()) // 0 not included in isPowerOf2 |

