This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/80430] Vectorizer undervalues cost of alias checking for versioning
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 20 Apr 2017 10:20:54 +0000
- Subject: [Bug tree-optimization/80430] Vectorizer undervalues cost of alias checking for versioning
- Auto-submitted: auto-generated
- References: <bug-80430-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80430
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-04-20
Blocks| |53947
Target Milestone|8.0 |---
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. One trivial improvement would be to use scalar_stmt (there's no
vector code emitted).
Another issue is that we combine the runtime cost model check with the alias
checks rather than emitting a separate gimple-cond for this.
Plus for a loop nest we should eventually version the whole nest (even if only
vectorizing the innermost loop) in case the versioning conditions are invariant
in the outer loop.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947
[Bug 53947] [meta-bug] vectorizer missed-optimizations