[all-commits] [llvm/llvm-project] 8166ed: [BasicAA] Fix BatchAA results for phi-phi assumptions

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Nov 26 12:44:11 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8166ed1a7a26ee8ea8db9005cc8ee5d156adad9b
      https://github.com/llvm/llvm-project/commit/8166ed1a7a26ee8ea8db9005cc8ee5d156adad9b
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-11-26 (Thu, 26 Nov 2020)

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

  Log Message:
  -----------
  [BasicAA] Fix BatchAA results for phi-phi assumptions

Add a flag that disables caching when computing aliasing results
potentially based on a phi-phi NoAlias assumption. We'll still
insert cache entries temporarily to catch infinite recursion,
but will drop them afterwards, so they won't persist in BatchAA.

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




More information about the All-commits mailing list