[all-commits] [llvm/llvm-project] 2a61ce: [BPF] Remove unused legacy passes after TargetMach...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jun 24 22:44:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a61ceddb30aaed291317795e3183371e8cf3d7a
      https://github.com/llvm/llvm-project/commit/2a61ceddb30aaed291317795e3183371e8cf3d7a
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-06-24 (Sat, 24 Jun 2023)

  Changed paths:
    M llvm/lib/Target/BPF/BPF.h
    M llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
    M llvm/lib/Target/BPF/BPFAdjustOpt.cpp
    M llvm/lib/Target/BPF/BPFIRPeephole.cpp
    M llvm/lib/Target/BPF/BPFPreserveDIType.cpp
    M llvm/lib/Target/BPF/BPFTargetMachine.cpp
    M llvm/test/CodeGen/BPF/vla.ll

  Log Message:
  -----------
  [BPF] Remove unused legacy passes after TargetMachine::adjustPassManager removal

D137796 made these passes unused.

`opt --bpf-ir-peephole` is specified in one test. Add a `registerPipelineParsingCallback`
so that we can use change the test to use `opt --passes=bpf-ir-peephole` instead.




More information about the All-commits mailing list