aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2022-06-10 13:15:11 -0700
committerPhilip Reames <listmail@philipreames.com>2022-06-10 13:20:58 -0700
commitf7bb691d6140e83699a89c4adf67c1d850852a9c (patch)
tree32a06905ca9f5f4905ebd73262df3252dad4d706 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent0fe88f9679ff6df5a7cce7e89038602c35a5e272 (diff)
downloadllvm-f7bb691d6140e83699a89c4adf67c1d850852a9c.zip
llvm-f7bb691d6140e83699a89c4adf67c1d850852a9c.tar.gz
llvm-f7bb691d6140e83699a89c4adf67c1d850852a9c.tar.bz2
[RISCV] Implement isElementTypeLegalForScalableVector TTI hook
This brings us into alignment with AArch64, and in the process fixes a compiler crash bug in uniform store handling in the vectorizer. Before the recent invalid cost bailout work, this would have also avoided crashes on invalid costs in some cases. I honestly think the vectorizer should gracefully bailout on uniform stores it can't use a scatter for, but it doesn't, so lets take the path of least resistance here. It's also possible that there are other vectorizer bugs AArch64 isn't seeing because of this hook; we don't want to be finding them either. Differential Revision: https://reviews.llvm.org/D127514
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions