[cfe-users] clang/llvm fails to vectorize a simple fill loop

via cfe-users cfe-users at lists.llvm.org
Mon Feb 4 04:47:32 PST 2019


Hi @all,

can anyone tell me, what is wrong with the following loop in Fill:

https://godbolt.org/z/hyZ2HO

Vectorization works for float, double and std::complex<float>, but it fails for std::complex<double>.
The remark "read with atomic ordering or volatile read" hints for something, but neither do I know 
exactly what, nor do I know how I can resolve the issue.


Best Olaf




More information about the cfe-users mailing list