[PATCH] D108900: [LV] Fix crash for reverse masked interleaved groups
Ayal Zaks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 29 15:38:46 PDT 2021
Ayal created this revision.
Ayal added reviewers: fhahn, uabelho.
Herald added a subscriber: hiraditya.
Ayal requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch fixes another crash revealed by PR51614:
when *deciding* to vectorize with masked interleave groups, check if the access
is reverse - which is currently not supported; rather than (only) asserting it is so
when computing cost and generating code.
(Currently includes D108891 <https://reviews.llvm.org/D108891>; the two can be committed separately or together.)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108900
Files:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/X86/x86-interleaved-accesses-masked-group.ll
llvm/test/Transforms/LoopVectorize/pr51614-fold-tail-by-masking.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108900.369346.patch
Type: text/x-patch
Size: 73765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210829/1213ed3b/attachment.bin>
More information about the llvm-commits
mailing list