[llvm-dev] Polly Vectorization very large speedup

hameeza ahmed via llvm-dev llvm-dev at lists.llvm.org
Fri May 28 09:14:47 PDT 2021


Hello,
I have run polybench correlation with following command on LLVM-12.0;
/home/clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-16.04/bin/clang -O3 -mllvm
-polly -mllvm -polly-vectorizer=polly -I ../../../../utilities -I
../../../../datamining/correlation ../../../../utilities/polybench.c
../../../../datamining/correlation/correlation.c -lm -DPOLYBENCH_TIME
 -DEXTRALARGE_DATASET -o polly-O3-vector-extralarge


I am getting execution time of 0.100884s with polly-vectorizer
However with LLVM -O3 time is 85.083153s
polly vectorizer gives a speedup of 843.37x which is unbelievable.
Why is that so? Am I running wrong command?

Please guide.

Thank You
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210528/25b71fd0/attachment.html>


More information about the llvm-dev mailing list