[all-commits] [llvm/llvm-project] c4fb2a: [MemDep] Use BatchAA in more places (NFCI)

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri May 14 14:04:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4fb2a1fc2d8009cd67e69c8db0db7120389a757
      https://github.com/llvm/llvm-project/commit/c4fb2a1fc2d8009cd67e69c8db0db7120389a757
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-05-14 (Fri, 14 May 2021)

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

  Log Message:
  -----------
  [MemDep] Use BatchAA in more places (NFCI)

Previously, we already used BatchAA for individual simple pointer
dependency queries. This extends BatchAA usage for the non-local
case, so that only one BatchAA instance is used for all blocks,
instead of one instance per block.

Use of BatchAA is safe as IR cannot be modified during a MemDep
query.




More information about the All-commits mailing list