[PATCH] D47681: [DAGCombiner] Bug 31275- Extract a shift from a constant mul or udiv if a rotate can be formed

Sam Conrad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 13 19:02:53 PDT 2018


sameconrad added a comment.

In https://reviews.llvm.org/D47681#1131359, @lebedev.ri wrote:

> BTW, that reminds me.
>  @sameconrad while you are looking at rotates in backend, can you please also check (at least add tests,
>  if there aren't any yet) that backend properly handles the cases where `mul`/`div` were transformed into shifts?


I can take a look at that, will do that in a separate patch.


https://reviews.llvm.org/D47681





More information about the llvm-commits mailing list