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

2019-02-04 Thread via cfe-users
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, but it fails for std::complex. The remark "read with atomic ordering or volatile read" hints for something, but neither do I know ex

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

2019-02-04 Thread Matthew Fernandez via cfe-users
> On Feb 4, 2019, at 04:47, via cfe-users wrote: > > 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, but it fails > for std::complex. > The remark "read with atomic or