[all-commits] [llvm/llvm-project] 790a6d: [CodeGen][NewPM] Port MachineSink to NPM

Akshat Oke via All-commits all-commits at lists.llvm.org
Thu Nov 14 05:22:05 PST 2024


  Branch: refs/heads/users/Akshat-Oke/10-29-_codegen_newpm_port_machinesink_to_npm
  Home:   https://github.com/llvm/llvm-project
  Commit: 790a6d06d2a84f7f5cc1d5fb043141515a7ca012
      https://github.com/llvm/llvm-project/commit/790a6d06d2a84f7f5cc1d5fb043141515a7ca012
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2024-11-14 (Thu, 14 Nov 2024)

  Changed paths:
    A llvm/include/llvm/CodeGen/MachineSink.h
    M llvm/include/llvm/CodeGen/Passes.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/CodeGen.cpp
    M llvm/lib/CodeGen/MachineSink.cpp
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
    M llvm/test/CodeGen/AArch64/loop-sink.mir
    M llvm/test/CodeGen/AArch64/sink-and-fold-preserve-debugloc.mir
    M llvm/test/CodeGen/AMDGPU/machine-sink-temporal-divergence-swdev407790.mir
    M llvm/test/CodeGen/ARM/machine-sink-multidef.mir
    M llvm/test/CodeGen/Hexagon/machine-sink-float-usr.mir
    M llvm/test/CodeGen/PowerPC/sink-down-more-instructions-1.mir
    M llvm/test/CodeGen/RISCV/MachineSink-implicit-x0.mir
    M llvm/test/CodeGen/SystemZ/machinesink-dead-cc.mir
    M llvm/test/CodeGen/X86/machinesink-debug-inv-0.mir
    M llvm/test/DebugInfo/MIR/X86/sink-leaves-undef.mir

  Log Message:
  -----------
  [CodeGen][NewPM] Port MachineSink to NPM

Targets can set the EnableSinkAndFold option in CGPassBuilderOptions for
the NPM pipeline in buildCodeGenPipeline(... &Opts, ...)


  Commit: 5a9c47781bc91bca293e0c6eb79f8f12a2da0d18
      https://github.com/llvm/llvm-project/commit/5a9c47781bc91bca293e0c6eb79f8f12a2da0d18
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2024-11-14 (Thu, 14 Nov 2024)

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

  Log Message:
  -----------
  Add printPipeline and remove manual optnone check


  Commit: 64ddeb9502ca64985070cdbd228e1dda9cf705e5
      https://github.com/llvm/llvm-project/commit/64ddeb9502ca64985070cdbd228e1dda9cf705e5
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2024-11-14 (Thu, 14 Nov 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/AliasAnalysis.h
    M llvm/include/llvm/Analysis/ProfileSummaryInfo.h
    M llvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
    M llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
    M llvm/include/llvm/CodeGen/MachineCycleAnalysis.h
    M llvm/include/llvm/CodeGen/MachineDominators.h
    M llvm/include/llvm/CodeGen/MachinePostDominators.h
    M llvm/lib/CodeGen/MachineSink.cpp

  Log Message:
  -----------
  Use MFAnalysisGetter


Compare: https://github.com/llvm/llvm-project/compare/26b9f15bb3a8...64ddeb9502ca

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