[all-commits] [llvm/llvm-project] 01c190: [AArch64][CostModel]Fix gather scatter cost model
CarolineConcatto via All-commits
all-commits at lists.llvm.org
Thu Jan 7 06:03:22 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 01c190e907ca4752f7ba2a1390a8c91a48b322d1
https://github.com/llvm/llvm-project/commit/01c190e907ca4752f7ba2a1390a8c91a48b322d1
Author: Caroline Concatto <caroline.concatto at arm.com>
Date: 2021-01-07 (Thu, 07 Jan 2021)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-gather.ll
M llvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-scatter.ll
Log Message:
-----------
[AArch64][CostModel]Fix gather scatter cost model
This patch fixes a bug introduced in the patch:
https://reviews.llvm.org/D93030
This patch pulls the test for scalable vector to be the first instruction
to be checked. This avoids the Gather and Scatter cost model for AArch64 to
compute the number of vector elements for something that is not a vector and
therefore crashing.
More information about the All-commits
mailing list