[PATCH] Cost model support for lowered math builtins.

Arnold Schwaighofer aschwaighofer at apple.com
Thu Feb 28 11:26:03 PST 2013


This is nice feature, can you brag about this on in docs/Vectorizer.rst?

We also support vectorization of libm functions that can be lowered to intrinsic math functions.

void foo(float *f) {
for (unsigned i = 0; i != 1024; ++i)
f[i] = floorf(f[i]);
}

Or something along those lines.


Thanks,
Arnold

On Feb 28, 2013, at 1:11 PM, Benjamin Kramer <benny.kra at gmail.com> wrote:

> 
>  Closed by commit rL176287 (authored by d0k).
> 
> CHANGED PRIOR TO COMMIT
>  http://llvm-reviews.chandlerc.com/D466?vs=1138&id=1154#toc
> 
> http://llvm-reviews.chandlerc.com/D466
> 
> COMMIT
>  http://llvm-reviews.chandlerc.com/rL176287
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list