[PATCH] D103514: [LV] Support sinking recipe in replicate region after another region.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 2 05:10:27 PDT 2021


fhahn created this revision.
fhahn added reviewers: Ayal, gilr, rengolin.
Herald added a subscriber: hiraditya.
fhahn requested review of this revision.
Herald added a project: LLVM.

This patch handles sinking a replicate region after another replicate
region. In that case, we can connect the sink region after the target
region. This properly handles the case for which an assertion has been
added in 337d7652823f <https://reviews.llvm.org/rG337d7652823f59f4613552cebdf81292bf8f393d>.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103514

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103514.349236.patch
Type: text/x-patch
Size: 6409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210602/47656fb9/attachment.bin>


More information about the llvm-commits mailing list