HomePhabricator

[CostModel][SVE] Add cost model for shuffle reverse with i1 and scalable vector

Authored by CarolineConcatto on Feb 15 2021, 9:46 AM.

Description

[CostModel][SVE] Add cost model for shuffle reverse with i1 and scalable vector

This patch adds the cost model for experimental.vector.reverse
with scalable vector types: nxv16i1, nxv8i1, nxv4i1 and nxv2i1.
These types are missing from the previous cost model patch D95603.

The cost model for experimental.vector.reverse with 1 bit mask is used by
loop vectorization in the patch D95363

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