[all-commits] [llvm/llvm-project] 595297: [CodeGen][NPM] Port BranchFolder to NPM (#128858)

Akshat Oke via All-commits all-commits at lists.llvm.org
Thu Mar 13 01:11:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5952972c9164216be7c22292c52c131f1d0a8030
      https://github.com/llvm/llvm-project/commit/5952972c9164216be7c22292c52c131f1d0a8030
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-03-13 (Thu, 13 Mar 2025)

  Changed paths:
    A llvm/include/llvm/CodeGen/BranchFoldingPass.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/include/llvm/Target/CGPassBuilderOption.h
    M llvm/lib/CodeGen/BranchFolding.cpp
    M llvm/lib/CodeGen/CodeGen.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/test/CodeGen/AArch64/branch-folder-oneinst.mir
    M llvm/test/CodeGen/AMDGPU/branch-folder-requires-no-phis.mir
    M llvm/test/CodeGen/Hexagon/branchfolder-insert-impdef.mir
    M llvm/test/CodeGen/MIR/X86/branch-folder-with-label.mir
    M llvm/test/CodeGen/X86/branchfolding-ehpad.mir

  Log Message:
  -----------
  [CodeGen][NPM] Port BranchFolder to NPM (#128858)

EnableTailMerge is false by default and is handled by the pass builder.
Passes are independent of target pipeline options.

This completes the generic `MachineLateOptimization` passes for the NPM
pipeline.



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