[Bug tree-optimization/81558] Loop not vectorized

kugan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 27 05:17:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81558

--- Comment #2 from kugan at gcc dot gnu.org ---

> Does LLVM do a runtime alias check here?  For foo1 GCC adds a runtime alias
> check
> (BB vectorization cannot version for aliasing).

Yes. LLVM does not seem to be unrolling the inner loop. As you said, when
disabling cunrolli it works. cunroll pass will unroll after loop vectorisation.
Can anything  done with the heuristics for this case? Thanks.


More information about the Gcc-bugs mailing list