diff options
author | Philip Reames <preames@rivosinc.com> | 2024-01-24 08:29:28 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 08:29:28 -0800 |
commit | 396b6bbc5ecef93fce09d6463f47b44dc501d2aa (patch) | |
tree | d2a02f48dd5439fe8c52756286e7f3f0d2c07642 /clang/lib/Basic/FileManager.cpp | |
parent | 56aa77e1193b7abe65bf3ec16e0f37972345b9f2 (diff) | |
download | llvm-396b6bbc5ecef93fce09d6463f47b44dc501d2aa.zip llvm-396b6bbc5ecef93fce09d6463f47b44dc501d2aa.tar.gz llvm-396b6bbc5ecef93fce09d6463f47b44dc501d2aa.tar.bz2 |
[RISCV] Recurse on second operand of two operand shuffles (#79197)
This builds on bdc41106ee48dce59c500c9a3957af947f30c8c3.
This change completes the migration to a recursive shuffle lowering
strategy where when we encounter an unknown two argument shuffle, we
lower each operand as a single source permute, and then use a vselect
(i.e. a vmerge) to combine the results. This relies for code quality on
the post-isel combine which will aggressively fold that vmerge back into
the materialization of the second operand if possible.
Note: The change includes only the most immediately obvious of the
stylistic cleanup. There's a bunch of code movement that this enables
that I'll do as a separate patch as rolling it into this creates an
unreadable diff.
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions