Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
1 parent
d6216e2
commit 87bcbd6
Showing
2 changed files
with
30 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters