llvm-project
b06f10d9 - [DA] Add check for base pointer invariance (#148241)

Commit
68 days ago
[DA] Add check for base pointer invariance (#148241) As specified in #53942, DA assumes base pointer invariance in its process. Some cases were fixed by #116628. However, that PR only addressed the parts related to AliasAnalysis, so the original issue persists in later stages, especially when the AliasAnalysis results in `MustAlias`. This patch insert an explicit loop-invariant checks for the base pointer and skips analysis when it is not loop-invariant. Fix the cases added in #148240.
Author
Parents
Loading