Preserve the invariant that offset reported in the case of a
PartialAlias between Loc1 and Loc2, is such that Loc1 + Offset = Loc2, where
Loc1 and Loc2 are the first and the second argument, respectively, in alias queries.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/unittests/Analysis/AliasAnalysisTest.cpp | ||
---|---|---|
364–366 | Thanks! |
llvm/unittests/Analysis/AliasAnalysisTest.cpp | ||
---|---|---|
364–366 | Sorry, I was wrong here - you indeed need separate test where Loc1 is not GEP. |
Thanks!
Nit: I guess you can just extend the previous test "PartialAliasOffset" with this lines (and changed "-1" to "-4").