diff options
author | David Green <david.green@arm.com> | 2023-06-30 11:13:39 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2023-06-30 11:13:39 +0100 |
commit | 14f54a594e5b5e215844f03e598805bd8c377003 (patch) | |
tree | 99c73dc5f546744031d389bfe00039558783aab0 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | cc31d787c3f29f3afbbfee15e1dda846ec962d70 (diff) | |
download | llvm-14f54a594e5b5e215844f03e598805bd8c377003.zip llvm-14f54a594e5b5e215844f03e598805bd8c377003.tar.gz llvm-14f54a594e5b5e215844f03e598805bd8c377003.tar.bz2 |
[DAG][AArch64] Fold shuffle_vector<4,5,6,7> to extract_subvector
During legalization, we can end up with shuffles that are identity masks, so
act like extract_subvector, but do not simplify to extract_subvector. This
adjusts the profitability heuristic in foldExtractSubvectorFromShuffleVector to
allow identity vectors that do not start at element 0. Undef masks elements are
excluded as it can be more useful to keep the undef elements.
Differential Revision: https://reviews.llvm.org/D153504
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions