Unverified Commit 37c87d56 authored by Paschalis Mpeis's avatar Paschalis Mpeis Committed by GitHub
Browse files

[LV][AArch64] LoopVectorizer allows scalable frem instructions (#76247)

LoopVectorizer is aware when a target can replace a scalable frem
instruction with a vector library call for a given VF and it returns the
relevant cost. Otherwise, it returns an invalid cost (as previously).

Add test that check costs on AArch64, when there is no vector library
available and when there is (with and without tail-folding).

NOTE: Invoking CostModel directly (not through LV) would still return
invalid costs.
parent 9ca1a081
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment