Displaying 1 result from an estimated 1 matches for "dno_two".
Did you mean:
no_two
2019 May 02
2
llvm is illegally vectorizing with a recurrence on skylake
...blem to be a issue with dependency information getting
destroyed because if you remove the two() function (or compile one() on its
own, or prevent inlining of one()), it correctly prevents vectorization.
clang -S -O2 -Rpass=loop-vectorize -Rpass-missed=loop-vectorize small.c
-march=skylake-avx512 -DNO_TWO
small.c:6:3: remark: loop not vectorized [-Rpass-missed=loop-vectorize]
do {
I did trace it down to possibly being something within
DepChecker->areDepsSafe() as it returns true for the incorrect case.
Thanks,
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
U...