[all-commits] [llvm/llvm-project] 688650: [NewPM] Port AArch64RedundantCondBranch to the new...

Kyungtak Woo via All-commits all-commits at lists.llvm.org
Fri Apr 17 16:45:30 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6886505f9cd56e2bfcc9ba7ff3c08be17bf221e6
      https://github.com/llvm/llvm-project/commit/6886505f9cd56e2bfcc9ba7ff3c08be17bf221e6
  Author: Kyungtak Woo <kevinwkt at google.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64.h
    M llvm/lib/Target/AArch64/AArch64PassRegistry.def
    M llvm/lib/Target/AArch64/AArch64RedundantCondBranchPass.cpp
    M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
    M llvm/test/CodeGen/AArch64/cbz_wzr.mir

  Log Message:
  -----------
  [NewPM] Port AArch64RedundantCondBranch to the new pass manager (#190897)

Adds a newPM pass for AArch64RedundantCondBranch

- Refactors base logic into an Impl class
- Renames old pass with the "Legacy" suffix
- Adds the new pass manager pass using refactored logic
- Updated existing .mir tests to also test with the New Pass Manager.

Context and motivation in
https://llvm.org/docs/NewPassManager.html#status-of-the-new-and-legacy-pass-managers



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