forked from swiftlang/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LAA] Consider unknown SCEVs defined in the loop as IndirectUnsafe.
At the moment, access expressions may contain values that change across loop iterations (like a load). That means they may be classified as Unknown dependence and if we decide to re-try with runtime checks, the runtime checks are not sufficient; the accessws with loop varying indices may overlap with an earlier or subsequent iterations. To address this, consider accesses containing SCEVUnknown with values defined inside a loop as unsafe. Fixes llvm#87189.
- Loading branch information
Showing
3 changed files
with
31 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters