aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2023-11-28 07:39:58 -0800
committerGitHub <noreply@github.com>2023-11-28 07:39:58 -0800
commitf3a9dbe7fcabb10d81a56d3757fb1b32fa37972e (patch)
treee08d17b2e95b9c8648dcf4da4a13cdf31b3a55f4 /clang/lib/CodeGen/CodeGenModule.cpp
parentb6eb740cae13b26ddc8762277f2eb6e552320fc3 (diff)
downloadllvm-f3a9dbe7fcabb10d81a56d3757fb1b32fa37972e.zip
llvm-f3a9dbe7fcabb10d81a56d3757fb1b32fa37972e.tar.gz
llvm-f3a9dbe7fcabb10d81a56d3757fb1b32fa37972e.tar.bz2
[RISCV] Split build_vector into vreg sized pieces when exact VLEN is known (#73606)
If we have a high LMUL build_vector and a known exact VLEN, we can decompose the build_vector into one build_vector per register in the register group. Doing so requires exact knowledge of which elements correspond to each register in the register group, and thus an exact VLEN must be known. Since we no longer have operations which are linear (or worse) in LMUL, this also allows us to lower all build_vectors without resorting to going through the stack.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions