mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
InstCombine: Fix comment to reflect the code.
llvm-svn: 162911
This commit is contained in:
parent
be85de62ab
commit
e78ea6f9cb
@ -462,7 +462,7 @@ Instruction *InstCombiner::visitUDiv(BinaryOperator &I) {
|
||||
}
|
||||
}
|
||||
|
||||
// Udiv ((Lshl x, C1) , C2) -> x / (C2 * 1<<C1);
|
||||
// (x lshr C1) udiv C2 --> x udiv (C2 << C1)
|
||||
if (ConstantInt *C2 = dyn_cast<ConstantInt>(Op1)) {
|
||||
Value *X;
|
||||
ConstantInt *C1;
|
||||
|
Loading…
Reference in New Issue
Block a user