From: Benjamin Kramer Date: Thu, 30 Aug 2012 15:07:40 +0000 (+0000) Subject: InstCombine: Fix comment to reflect the code. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c81fe9cab545a93a61c059b1c2813f622aef43ae;p=oota-llvm.git InstCombine: Fix comment to reflect the code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162911 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp b/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp index 003dc55a03f..2a7182fc1d4 100644 --- a/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp +++ b/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp @@ -462,7 +462,7 @@ Instruction *InstCombiner::visitUDiv(BinaryOperator &I) { } } - // Udiv ((Lshl x, C1) , C2) -> x / (C2 * 1< x udiv (C2 << C1) if (ConstantInt *C2 = dyn_cast(Op1)) { Value *X; ConstantInt *C1;