Bug 89755 - Inefficient runtime alias check
Summary: Inefficient runtime alias check
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 9.0
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
Keywords: missed-optimization
Depends on:
Blocks: vectorizer 87561
  Show dependency treegraph
Reported: 2019-03-18 10:04 UTC by Richard Biener
Modified: 2019-03-18 10:04 UTC (History)
0 users

See Also:
Known to work:
Known to fail:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
Description Richard Biener 2019-03-18 10:04:04 UTC
For the testcase in PR87561 the runtime alias check ends up too complicated
since it could simply compare a single index that is even loop invariant in
the enclosing loop.  The vectorizer should also consider applying versioning
to outer loops for the runtime alias check.