HomePhabricator

[SVE][LoopVectorize] Support for vectorization of loops with function calls

Authored by kmclaughlin on Feb 12 2021, 2:57 AM.

Description

[SVE][LoopVectorize] Support for vectorization of loops with function calls

Changes getScalarizationOverhead to return an invalid cost for scalable VFs
and adds some simple tests for loops containing a function for which
there is a vectorized variant available.

Reviewed By: david-arm

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