This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/81558] Loop not vectorized
- From: "kugan at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Jul 2017 05:16:41 +0000
- Subject: [Bug tree-optimization/81558] Loop not vectorized
- Auto-submitted: auto-generated
- References: <bug-81558-4@http.gcc.gnu.org/bugzilla/>
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.