In addition to vectorization, Polly also applies memory optimizations
(such as tiling). Correlation is one of the benchmarks where this
works particularly well.
In doubt, compare the output of the benchmark with and without Polly
(-DPOLYBENCH_DUMP_ARRAYS). Note that there may be floating-point
rounding differences, you could try `fpcmp` from the llvm-test-suite.
-polly-vectorizer=polly is not particularly well-tested, so a
miscompilation could indeed be the reason.
Michael
> --
> You received this message because you are subscribed to the Google Groups "Polly Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
polly-dev+...@googlegroups.com.
> To view this discussion on the web, visit
https://groups.google.com/d/msgid/polly-dev/CAFMPKeY_NaQQEN8Ws41p%3DWKe1vwRxXUSPPz7RN%2BmmYyO39sGxQ%40mail.gmail.com.
--
Tardyzentrismus verboten!