RFC: Enable vectorization of call instructions in the loop vectorizer

Renato Golin renato.golin at linaro.org
Mon Dec 16 14:21:10 PST 2013

On 16 December 2013 22:02, Hal Finkel <hfinkel at anl.gov> wrote:

> I think we're okay here for the time being ;) -- Arnold suggested that we
> use some large value to represent the cost of the scalar function. The
> metadata (or whatever) just need to specify some multiplicative factor by
> which we scale that cost. In general, I think that should be fairly easy to
> determine.

Yes, the question was more rhetorical than anything else. I think the
standard cost of "call / width" is a good one, and domain-specific
decisions can be taken in the call-backs.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131216/21d5447d/attachment.html>

More information about the llvm-commits mailing list