aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2023-08-22 07:24:36 -0700
committerPhilip Reames <listmail@philipreames.com>2023-08-22 07:36:17 -0700
commitecb855a5a8c5dd9d46ca85041d7fe987fa73ba7c (patch)
treeec92dbc90b06479736bd15ba0fa87c20d67086b5 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
parente8900df8a769c40661daeb226dfbcd7ec9939a85 (diff)
downloadllvm-ecb855a5a8c5dd9d46ca85041d7fe987fa73ba7c.zip
llvm-ecb855a5a8c5dd9d46ca85041d7fe987fa73ba7c.tar.gz
llvm-ecb855a5a8c5dd9d46ca85041d7fe987fa73ba7c.tar.bz2
[RISCV] Reduce LMUL for vector extracts
If we have a known (or bounded) index which definitely fits in a smaller LMUL register group size, we can reduce the LMUL of the slide and extract instructions. This loosens constraints on register allocation, and allows the hardware to do less work, at the potential cost of some additional VTYPE toggles. In practice, we appear (after prior patches) to do a decent job of eliminating the additional VTYPE toggles in most cases. Differential Revision: https://reviews.llvm.org/D158460
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions