[PATCH] D46760: [InstCombine] Enhance narrowUDivURem.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 11 10:42:35 PDT 2018


spatel added a comment.

This (walking users of a value) stretches instcombine beyond the simplistic transforms that I think most people want to see here.

Have a look at the BypassSlowDivision (runs within -codegenprepare I think) and DivRemPairs (-div-rem-pairs) passes.


Repository:
  rL LLVM

https://reviews.llvm.org/D46760





More information about the llvm-commits mailing list