[all-commits] [llvm/llvm-project] 293df8: [LegacyPM] Drop analysis groups (#101670)

Alexis Engelke via All-commits all-commits at lists.llvm.org
Fri Aug 2 07:14:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 293df8afae3ec1f99e44d6bc015e4edf2c165c8d
      https://github.com/llvm/llvm-project/commit/293df8afae3ec1f99e44d6bc015e4edf2c165c8d
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
    M llvm/docs/WritingAnLLVMPass.rst
    M llvm/include/llvm/Pass.h
    M llvm/include/llvm/PassInfo.h
    M llvm/include/llvm/PassRegistry.h
    M llvm/include/llvm/PassSupport.h
    M llvm/lib/IR/LegacyPassManager.cpp
    M llvm/lib/IR/Pass.cpp
    M llvm/lib/IR/PassRegistry.cpp

  Log Message:
  -----------
  [LegacyPM] Drop analysis groups (#101670)

This improves the performance of recordAvailableAnalysis and freePass so
that they don't need to call getPassInfo(), which acquires a lock on
every call.

The performance-wise interesting part is only in LegacyPassManager.cpp,
everything else is just cleanup.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list