[PATCH] D57837: [LV] Prevent interleaving if computeMaxVF returned None.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 6 12:29:42 PST 2019


fhahn created this revision.
fhahn added reviewers: Ayal, dcaballe, hsaito, mkuper, rengolin.
Herald added subscribers: rkruppe, hiraditya.
Herald added a project: LLVM.

As discussed in D57382 <https://reviews.llvm.org/D57382>, interleaving should be avoided if computeMaxVF
returns None, same as we currently do for vectorization.

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6477


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D57837

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/no-interleave-up-front.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57837.185615.patch
Type: text/x-patch
Size: 6625 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190206/b566b0bd/attachment.bin>


More information about the llvm-commits mailing list