[all-commits] [llvm/llvm-project] 4de318: [LAA] Use cross-iteration alias analysis

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Dec 5 00:27:30 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4de3184f07fd8c548125d315dd306d4afa7c9698
      https://github.com/llvm/llvm-project/commit/4de3184f07fd8c548125d315dd306d4afa7c9698
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-12-05 (Mon, 05 Dec 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/AliasAnalysis.h
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    A llvm/test/Analysis/LoopAccessAnalysis/select-dependence.ll

  Log Message:
  -----------
  [LAA] Use cross-iteration alias analysis

LAA analyzes cross-iteration memory dependencies, as such AA should
not make assumptions about equality of values inside the loop, as
they may come from different iterations.

Fix this by exposing the MayBeCrossIteration AA flag and enabling
it for LAA.

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




More information about the All-commits mailing list