HomePhabricator

[AArch64][SVE]Add cost model for masked gather and scatter for scalable vector.

Authored by CarolineConcatto on Dec 17 2020, 8:15 AM.

Description

[AArch64][SVE]Add cost model for masked gather and scatter for scalable vector.

A new TTI interface has been added 'Optional <unsigned>getMaxVScale' that
returns the maximum vscale for a given target.
When known getMaxVScale is used to compute the cost of masked gather scatter
for scalable vector.

Depends on D92094

Differential Revision: https://reviews.llvm.org/D93030

Details

Committed
CarolineConcattoJan 4 2021, 5:59 AM
Parents
rGd38a0258a5f4: [AArch64] Add patterns for FMCLA*_indexed.
Branches
Unknown
Tags
Unknown