[PATCH] D67764: [LV] Runtime checks with OptForSize

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 19 07:44:32 PDT 2019


SjoerdMeijer created this revision.
SjoerdMeijer added reviewers: Ayal, dorit, hsaito, fhahn, uabelho.
Herald added subscribers: rkruppe, hiraditya.
Herald added a project: LLVM.

When we optimise for size, and need to emit runtime checks to disambiguate
memory, we should nicely bail, don't vectorise, and not run in an assert like
we currently do.


https://reviews.llvm.org/D67764

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/runtime-check-optsize.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67764.220865.patch
Type: text/x-patch
Size: 3759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190919/9083d4c4/attachment.bin>


More information about the llvm-commits mailing list