[InstCombine] Simplify udiv -> lshr folding
What we're really doing here is converting Op0 udiv Op1 into Op0 lshr log2(Op1), so phrase it in that way. Actually pushing the lshr into the log2(Op1) expression should be seen as a separate transform.
parent
82951cfb
Please register or sign in to comment