[PATCH] D139358: Scalarizer: explicitly exclude scalable vectors
Nicolai Hähnle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 5 12:29:44 PST 2022
nhaehnle created this revision.
nhaehnle added reviewers: serge-sans-paille, bjope, lebedev.ri, foad.
Herald added a subscriber: hiraditya.
Herald added a project: All.
nhaehnle requested review of this revision.
Herald added a subscriber: alextsao1999.
Herald added a project: LLVM.
They are unsupported and would previously crash, now we just skip them.
Hypothetically, one could consider "scalarizing" a <vscale x n x T> into
n copies of <vscale x 1 x T>. But (1) it's unclear how to do that
because insertelement etc. don't work with scalable vectors in the
required way, and (2) there is no user of such functionality.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D139358
Files:
llvm/lib/Transforms/Scalar/Scalarizer.cpp
llvm/test/Transforms/Scalarizer/ignore-scalable-vectors.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139358.480203.patch
Type: text/x-patch
Size: 7736 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221205/5695444c/attachment.bin>
More information about the llvm-commits
mailing list