aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2023-10-27 12:16:28 +0100
committerGitHub <noreply@github.com>2023-10-27 12:16:28 +0100
commitc8e1fbc3cc8c2a076f431dcec42a2685c476d05b (patch)
tree804a484c5676a7f4acfab001f3966bc3071abfd0 /clang/lib/Lex/ModuleMap.cpp
parentb23426ee0eb4b51b87147de3e376bc49960b7f35 (diff)
downloadllvm-c8e1fbc3cc8c2a076f431dcec42a2685c476d05b.zip
llvm-c8e1fbc3cc8c2a076f431dcec42a2685c476d05b.tar.gz
llvm-c8e1fbc3cc8c2a076f431dcec42a2685c476d05b.tar.bz2
[RISCV] Keep same SEW/LMUL ratio if possible in forward transfer (#69788)
For instructions like vmv.s.x and friends where we don't care about LMUL or the SEW/LMUL ratio, we can change the LMUL in its state so that it has the same SEW/LMUL ratio as the previous state. This allows us to avoid more VL toggles later down the line (i.e. use vsetvli zero, zero, which requires that the SEW/LMUL ratio must be the same) This is an alternative approach to the idea in #69259, but note that they don't catch exactly the same test cases.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions