[all-commits] [llvm/llvm-project] 03aa96: [CostModel][X86][ARM] Teach getCastInstrCost to in...
topperc via All-commits
all-commits at lists.llvm.org
Fri Apr 24 13:36:56 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 03aa967c0d38313ac124f7550314879dbae9ba9d
https://github.com/llvm/llvm-project/commit/03aa967c0d38313ac124f7550314879dbae9ba9d
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-04-24 (Fri, 24 Apr 2020)
Changed paths:
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/test/Analysis/CostModel/ARM/cast.ll
M llvm/test/Analysis/CostModel/X86/fptosi.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list