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

Gil Rapaport via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 08:54:14 PDT 2016


gilr updated this revision to Diff 66483.
gilr added a comment.

Added may-divide-by-zero logic to cost model (was missing in previous patch); moved logic to its own helper function.


https://reviews.llvm.org/D22918

Files:
  lib/Transforms/Vectorize/LoopVectorize.cpp
  test/Transforms/LoopVectorize/if-pred-non-void.ll
  test/Transforms/LoopVectorize/if-pred-not-when-safe.ll
  test/Transforms/LoopVectorize/if-pred-stores.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22918.66483.patch
Type: text/x-patch
Size: 28523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160802/bc20c82b/attachment.bin>


More information about the llvm-commits mailing list