[all-commits] [llvm/llvm-project] 6192c3: [AA] Correctly maintain the sign of PartiaAlias of...

Momchil Velikov via All-commits all-commits at lists.llvm.org
Fri Dec 17 07:45:48 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6192c312cf8da6d4f787b65917597431828f7b04
      https://github.com/llvm/llvm-project/commit/6192c312cf8da6d4f787b65917597431828f7b04
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp
    M llvm/unittests/Analysis/AliasAnalysisTest.cpp

  Log Message:
  -----------
  [AA] Correctly maintain the sign of PartiaAlias offset

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.

Differential Revision: https://reviews.llvm.org/D115927




More information about the All-commits mailing list