[PATCH] D50222: [CodeGen] [SelectionDAG] More efficient code for X % C == 0 (UREM case)

Roman Lebedev via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 23 22:13:37 PST 2018


On Sat, Nov 24, 2018 at 3:18 AM Dávid Bolvanský via Phabricator
<reviews at reviews.llvm.org> wrote:
>
> xbolva00 added a comment.
>
> Btw, why we do not this transformation on IR-level at first?
It's not IR-level problem. In ir, `[u/s]div` is the correct choice.
If anything, there should be a reverse transform for the IR.

> Repository:
>   rL LLVM
>
> CHANGES SINCE LAST ACTION
>   https://reviews.llvm.org/D50222/new/
>
> https://reviews.llvm.org/D50222
>
>
>


More information about the llvm-commits mailing list