aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2023-09-18 08:06:04 -0700
committerPhilip Reames <listmail@philipreames.com>2023-09-18 08:36:23 -0700
commit13a74d6cc862db4fd5df46bf3724fc917e321aa6 (patch)
tree10d3f6c79acce4406a58dd462ad63ff179df960c /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parent38c59b9f53f0cb0af93c2861a9c7c5564c4b0cf7 (diff)
downloadllvm-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