aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/StringMapTest.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-02-17 10:00:40 -0800
committerCraig Topper <craig.topper@sifive.com>2023-02-17 10:00:40 -0800
commit42944abf8583fc6efae5bbc39f092bf884f6d17c (patch)
tree51b4cf626114f41b991f396447bda6c4a9cb6f5a /llvm/unittests/ADT/StringMapTest.cpp
parentbc6e10c9efca78cda350b6705de27728d142c0b0 (diff)
downloadllvm-42944abf8583fc6efae5bbc39f092bf884f6d17c.zip
llvm-42944abf8583fc6efae5bbc39f092bf884f6d17c.tar.gz
llvm-42944abf8583fc6efae5bbc39f092bf884f6d17c.tar.bz2
[RISCV] Improve isInterleaveShuffle to handle interleaving the high half and low half of the same source.
This is needed to support the new interleave intrinsics from D141924 for fixed vectors. I've reworked the core loop to operate in terms of half of a source. Making 4 possible half sources. The first element of the half is used to indicate which source using the same numbering as the shuffle where the second source elements are numbered after the first source. I've added restrictions to only match the first half of two vectors or the first and second half of a single vector. This was done to prevent regressions on the cases we have coverage for. I saw cases where generic DAG combine split a single interleave into 2 smaller interleaves a concat. We can revisit in the future. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D144143
Diffstat (limited to 'llvm/unittests/ADT/StringMapTest.cpp')
0 files changed, 0 insertions, 0 deletions