aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2025-07-03 09:49:32 +0200
committerGitHub <noreply@github.com>2025-07-03 08:49:32 +0100
commit4acdb8e14ef7e72d5f56b45d51de72c7b797be03 (patch)
tree83963fb74bb55747a02555bde5244a62352e167e /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent3efa461d45a1867cf03d30bd4b6caf1ed2260475 (diff)
downloadllvm-4acdb8e14ef7e72d5f56b45d51de72c7b797be03.zip
llvm-4acdb8e14ef7e72d5f56b45d51de72c7b797be03.tar.gz
llvm-4acdb8e14ef7e72d5f56b45d51de72c7b797be03.tar.bz2
[VectorCombine] Scalarize extracts of ZExt if profitable. (#142976)
Add a new scalarization transform that tries to convert extracts of a vector ZExt to a set of scalar shift and mask operations. This can be profitable if the cost of extracting is the same or higher than the cost of 2 scalar ops. This is the case on AArch64 for example. For AArch64,this shows up in a number of workloads, including av1aom, gmsh, minizinc and astc-encoder. PR: https://github.com/llvm/llvm-project/pull/142976
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions