diff options
author | Nashe Mncube <nashe.mncube@arm.com> | 2021-03-17 12:00:31 +0000 |
---|---|---|
committer | Nashe Mncube <nashe.mncube@arm.com> | 2021-03-29 11:15:50 +0100 |
commit | 19601a4c6c4887e167dabf64bb2393dd1c399fe9 (patch) | |
tree | a5ac4e58d6ef23840997c48dce83d84e52048ea2 /llvm/unittests/Transforms/Utils/CloningTest.cpp | |
parent | 66a8247eb6c021a6a706702fb9eedfb68f4cc94d (diff) | |
download | llvm-19601a4c6c4887e167dabf64bb2393dd1c399fe9.zip llvm-19601a4c6c4887e167dabf64bb2393dd1c399fe9.tar.gz llvm-19601a4c6c4887e167dabf64bb2393dd1c399fe9.tar.bz2 |
[SVE][Analysis]Instruction costs for ops on scalable-vec
The following operations have no associated cost for them
when applied to scalable vectors, and as a consequence
can trigger a crash when a call is made to
AArch64TTIImpl::getCastInstrCost():
- fptrunc
- trunc
- fpext
- fpto(u,s)i
This patch adds costs for these operations and
relevant regression tests.
Differential Revision: https://reviews.llvm.org/D98934
Diffstat (limited to 'llvm/unittests/Transforms/Utils/CloningTest.cpp')
0 files changed, 0 insertions, 0 deletions