[all-commits] [llvm/llvm-project] 11026a: [CodeGen][NewPM] Preserve all MF analyses in MFPM ...

Akshat Oke via All-commits all-commits at lists.llvm.org
Wed Jan 29 20:32:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11026a8d8b03014665e18c5cf9a0f76c857ef85f
      https://github.com/llvm/llvm-project/commit/11026a8d8b03014665e18c5cf9a0f76c857ef85f
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-01-30 (Thu, 30 Jan 2025)

  Changed paths:
    M llvm/lib/CodeGen/MachinePassManager.cpp

  Log Message:
  -----------
  [CodeGen][NewPM] Preserve all MF analyses in MFPM (#124707)

Invalidation is already handled in the passes loop for MFAM, so all of
the rest analyses are preserved. (See `PassManager::run()`)

This won't change the number of invalidations, but will prevent needless
`MFAM::Invalidator::invalidate()` invocations made by results depending
on other results (since the invalidate shorts if `<AllAnalysesOn<MF>>`
is preserved)



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