[all-commits] [llvm/llvm-project] 0b5cc5: [Target] Add shouldDefaultToNewPM flag

Aiden Grossman via All-commits all-commits at lists.llvm.org
Thu Aug 6 22:44:09 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b5cc577664bbd6e031f93f162d23820e5e90d15
      https://github.com/llvm/llvm-project/commit/0b5cc577664bbd6e031f93f162d23820e5e90d15
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-08-06 (Thu, 06 Aug 2026)

  Changed paths:
    M llvm/include/llvm/Target/TargetMachine.h

  Log Message:
  -----------
  [Target] Add shouldDefaultToNewPM flag

This will allow for tools like clang/flang/llc to default to the NewPM
for targets that request it.

Future patches will update clang/llc and flip it for targets that have
been fully ported but shouldn't have a large blast radius (like Lanai
and MSP430).

Pursuant to
https://discourse.llvm.org/t/rfc-incrementally-enabling-the-newpm-for-codegen/91410/11.

Reviewers: arsenm, vikramRH, aengelke

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



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