[all-commits] [llvm/llvm-project] 757066: [NFCi][AsmPrinter] Refactor getting analyses to ca...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Feb 23 17:18:18 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 757066c95e150fb3d80d687ff85707a186aab407
      https://github.com/llvm/llvm-project/commit/757066c95e150fb3d80d687ff85707a186aab407
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-02-23 (Mon, 23 Feb 2026)

  Changed paths:
    M llvm/include/llvm/CodeGen/AsmPrinter.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

  Log Message:
  -----------
  [NFCi][AsmPrinter] Refactor getting analyses to callbacks

As part of making AsmPrinter work with the new pass manager, we need to
be able to override how we get analyses. This patch does that by
refactoring getting all analyses/other related functionality to
callbacks that are set by default but can be overriden later (like by a
NewPM wrapper pass).

Reviewers: aeubanks

Pull Request: https://github.com/llvm/llvm-project/pull/182793



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