[all-commits] [llvm/llvm-project] b52e6c: [CostModel]Add cost model for experimental.vector....
CarolineConcatto via All-commits
all-commits at lists.llvm.org
Mon Feb 15 06:25:56 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b52e6c58911f60eebd20b59bc89d7a230aececab
https://github.com/llvm/llvm-project/commit/b52e6c58911f60eebd20b59bc89d7a230aececab
Author: Caroline Concatto <caroline.concatto at arm.com>
Date: 2021-02-15 (Mon, 15 Feb 2021)
Changed paths:
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
A llvm/test/Analysis/CostModel/AArch64/getIntrinsicInstrCost-vector-reverse.ll
A llvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-vector-reverse.ll
Log Message:
-----------
[CostModel]Add cost model for experimental.vector.reverse
This patch uses the function getShuffleCost with SK_Reverse to compute the cost
for experimental.vector.reverse.
For scalable vector type, it adds a table will the legal types on
AArch64TTIImpl::getShuffleCost to not assert in BasicTTIImpl::getShuffleCost,
and for fixed vector, it relies on the existing cost model in BasicTTIImpl.
Depends on D94883
Differential Revision: https://reviews.llvm.org/D95603
More information about the All-commits
mailing list