Skip to content
Unverified Commit 3273ea40 authored by Graham Hunter's avatar Graham Hunter Committed by GitHub
Browse files

[LV] Cache call vectorization decisions (#66521)

LoopVectorize currently queries VFDatabase repeatedly for each CI,
and each query to VFDatabase rescans all vector variants.

This patch instead makes a decision for each call once per VF based
on the cost of scalarization vs. function call to a vector variant
of the function vs. a vector intrinsic, then caches the decision
along with relevant info for use in planning and plan execution.
parent 072675f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment