[PATCH] D22918: [Loop Vectorizer] Support predication of div/rem

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 28 11:45:08 PDT 2016


eli.friedman added a subscriber: eli.friedman.
eli.friedman added a comment.

You might want to consider special-casing division by a constant integer.  For example, on x86, we can convert a 16-bit unsigned divide by a constant into a pmulhuw+psrlw.


https://reviews.llvm.org/D22918





More information about the llvm-commits mailing list