diff options
author | Craig Topper <craig.topper@intel.com> | 2020-04-24 13:02:15 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2020-04-24 13:36:26 -0700 |
commit | 03aa967c0d38313ac124f7550314879dbae9ba9d (patch) | |
tree | bd20e575aa4a849242dbdc0067e846feb0e98f53 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | ee9c53d27106689daf9f9f26354bead6ccad4ef1 (diff) | |
download | llvm-03aa967c0d38313ac124f7550314879dbae9ba9d.zip llvm-03aa967c0d38313ac124f7550314879dbae9ba9d.tar.gz llvm-03aa967c0d38313ac124f7550314879dbae9ba9d.tar.bz2 |
[CostModel][X86][ARM] Teach getCastInstrCost to include the splitting factor when handling operations that type legalize to the same number of subvectors or scalar components
Previously, we just always returned 1. But that ignores that we have to do the operation for each subvector or scalar component.
Differential Revision: https://reviews.llvm.org/D78824
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions