[PATCH] D109313: [SelectionDAG] PromoteIntRes_EXTRACT_SUBVECTOR for scalable vectors.
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 6 04:00:20 PDT 2021
sdesmalen created this revision.
Herald added subscribers: ecnelises, hiraditya.
sdesmalen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch implements legalization of EXTRACT_SUBVECTOR for the case
where the result needs promoting, and the input type is either legal
or requires splitting.
The idea is that the operation is broken down into simpler steps,
by first extracting a smaller subvector until the input vector
becomes legal or requires promotion.
Change-Id: Ifcafbefab8c7c0e2dbf3104425ca1eca33c81da0
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109313
Files:
llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
llvm/test/CodeGen/AArch64/sve-extract-vector.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109313.370888.patch
Type: text/x-patch
Size: 9195 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210906/3bff17e2/attachment.bin>
More information about the llvm-commits
mailing list