[all-commits] [llvm/llvm-project] 87bcbd: [AArch64][SVE] Fix extract_subvector patterns for ...
sdesmalen-arm via All-commits
all-commits at lists.llvm.org
Wed Sep 29 03:15:35 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 87bcbd61b5e60ed1f465cc276029be9f667162ba
https://github.com/llvm/llvm-project/commit/87bcbd61b5e60ed1f465cc276029be9f667162ba
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2021-09-29 (Wed, 29 Sep 2021)
Changed paths:
M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
M llvm/test/CodeGen/AArch64/sve-extract-scalable-vector.ll
Log Message:
-----------
[AArch64][SVE] Fix extract_subvector patterns for unpacked fp types.
The patterns added in D110163 were incorrect, since it used the wrong
element widths for its shuffles.
Example for nxv2f16 extract_subvector(nxv8f16 %in, 6):
<a|b|c|d|e|f|g|h>
^^^
extract g and h.
=> UUNPKHI .h -> .s results in:
<e |f |g |h >
=> UUNPKHI .s -> .d results in:
<g |h >
Reviewed By: david-arm
Differential Revision: https://reviews.llvm.org/D110523
More information about the All-commits
mailing list