[all-commits] [llvm/llvm-project] ce08c7: [CodeGen] Port `SelectOptimize` to new pass manage...

paperchalice via All-commits all-commits at lists.llvm.org
Mon Dec 11 20:09:43 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce08c7ee1e86ec6d4c02e19db6724d16a578a48b
      https://github.com/llvm/llvm-project/commit/ce08c7ee1e86ec6d4c02e19db6724d16a578a48b
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
    M llvm/include/llvm/CodeGen/MachinePassRegistry.def
    A llvm/include/llvm/CodeGen/SelectOptimize.h
    M llvm/lib/CodeGen/SelectOptimize.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/test/CodeGen/AArch64/O3-pipeline.ll
    M llvm/test/CodeGen/AArch64/convert-highly-predictable-select-to-branch.ll
    M llvm/test/CodeGen/AArch64/selectopt-logical.ll
    M llvm/test/CodeGen/AArch64/selectopt.ll
    M llvm/test/CodeGen/X86/select-optimize.ll

  Log Message:
  -----------
  [CodeGen] Port `SelectOptimize` to new pass manager (#74920)

- Use `BlockFrequencyInfoWrapperPass` in legacy pass so member
`std::unique_ptr<BranchProbabilityInfo> BPI` could be removed.
- Member `DominatorTree *DT = nullptr` is unused, remove it.




More information about the All-commits mailing list