HomePhabricator

[TTI] Add supportsScalableVectors target hook

Authored by c-rhodes on Dec 8 2020, 9:40 AM.

Description

[TTI] Add supportsScalableVectors target hook

This is split off from D91718 and adds a new target hook
supportsScalableVectors that can be queried to check if scalable vectors
are supported by the backend. For AArch64 this returns true if SVE is
enabled.

Reviewed By: david-arm

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

Details