[llvm-dev] Working on FP SCEV Analysis
Lawrence, Peter via llvm-dev
llvm-dev at lists.llvm.org
Wed May 18 16:32:54 PDT 2016
Elena,
Is this the sort of thing you are hoping to accomplish
You are given
> float f = 0.01f;
> for (int i = 1; i < 100; i += 1, f += 0.01f) <== *B*
And want to vectorize into something like this
Vector4xfloat V_f = {0.01, 0.02, 0.03, 0.04};
For (int i=1; i<100; i+=4) {
...
...
...
V_f += {0.01, 0.01, 0.01, 0.01};
}
If so, I don't see what all the fuss is about
--Peter Lawrence
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160518/ef65e651/attachment.html>
More information about the llvm-dev
mailing list