diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2021-06-07 13:02:38 +0100 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2021-06-07 17:26:23 +0100 |
commit | c908196e100a5ac1b25cba859094bfc28cffb5f3 (patch) | |
tree | b719ef2c9718c11c111605504c8de41f2ccb7d0d /llvm/lib/Object/FaultMapParser.cpp | |
parent | 619a65e5e4ed0df7b753eac9d7d41be976fd909b (diff) | |
download | llvm-c908196e100a5ac1b25cba859094bfc28cffb5f3.zip llvm-c908196e100a5ac1b25cba859094bfc28cffb5f3.tar.gz llvm-c908196e100a5ac1b25cba859094bfc28cffb5f3.tar.bz2 |
[CostModel] Return Invalid cost in getArithmeticCost instead of crashing for scalable vectors.
This fixes an issue in BasicTTIImpl.h where it tries to do a
cast<FixedVectorType> on a scalable vector type in order to get the
scalarization cost. Because scalarization of scalable vectors is not
supported, we return Invalid instead.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D103798
Diffstat (limited to 'llvm/lib/Object/FaultMapParser.cpp')
0 files changed, 0 insertions, 0 deletions