diff options
| author | Philip Reames <preames@rivosinc.com> | 2023-09-18 08:06:04 -0700 | 
|---|---|---|
| committer | Philip Reames <listmail@philipreames.com> | 2023-09-18 08:36:23 -0700 | 
| commit | 13a74d6cc862db4fd5df46bf3724fc917e321aa6 (patch) | |
| tree | 10d3f6c79acce4406a58dd462ad63ff179df960c /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
| parent | 38c59b9f53f0cb0af93c2861a9c7c5564c4b0cf7 (diff) | |
| download | llvm-13a74d6cc862db4fd5df46bf3724fc917e321aa6.zip llvm-13a74d6cc862db4fd5df46bf3724fc917e321aa6.tar.gz llvm-13a74d6cc862db4fd5df46bf3724fc917e321aa6.tar.bz2 | |
[RISCV] Fix crash when legalizing mgather/scatter on rv32
This is a fix for a subset of legalization problems around 64 bit indices on
rv32 targets.  For RV32+V, we were using the wrong mask type for the manual
truncation lowering for fixed length vectors.  Instead, just use the generic
TRUNCATE node, and let it be lowered as needed.
Note that legalization is still broken for rv32+zve32.  That appears to be
a different issue.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions
