[all-commits] [llvm/llvm-project] efbb4d: [BasicAA] Include MayBeCrossIteration in cache key

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Oct 31 01:59:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: efbb4d0245b50dd8ad80a99ea7f676576fd538f7
      https://github.com/llvm/llvm-project/commit/efbb4d0245b50dd8ad80a99ea7f676576fd538f7
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/AliasAnalysis.h
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp

  Log Message:
  -----------
  [BasicAA] Include MayBeCrossIteration in cache key

Rather than switching to a new AAQI instance with empty cache when
MayBeCrossIteration is toggled, include the value in the cache key.

The implementation redundantly include the information in both sides
of the pair, but that seems simpler than trying to store it only on
one side.

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




More information about the All-commits mailing list