[PATCH] D27245: Integer division expansion should handle constant divisors intelligently
Dmitri Shtilman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 1 13:37:17 PST 2016
dshtilman added a comment.
In https://reviews.llvm.org/D27245#608925, @joerg wrote:
> Why is this code necessary? LLVM already implements the division-by-constant optimisation.
Some platforms don't use SelectionDAG isel so they would not catch that optimization.
This is an optimization for those who use this div sw expansion utility.
Repository:
rL LLVM
https://reviews.llvm.org/D27245
More information about the llvm-commits
mailing list