[all-commits] [llvm/llvm-project] 5a3cc7: [PassBuilder] Expose parametrized passes related f...

paperchalice via All-commits all-commits at lists.llvm.org
Fri Mar 15 21:14:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a3cc7ba24c564a19a7812efd79ecd224b8193f5
      https://github.com/llvm/llvm-project/commit/5a3cc7ba24c564a19a7812efd79ecd224b8193f5
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-03-16 (Sat, 16 Mar 2024)

  Changed paths:
    M llvm/include/llvm/Passes/PassBuilder.h
    M llvm/lib/Passes/PassBuilder.cpp

  Log Message:
  -----------
  [PassBuilder] Expose parametrized passes related functions (#85357)

Some targets have passes with parameters, e.g. ARM, AMDGPU and MIPS.
For example, AMDGPU has a pass `AMDGPUAtomicOptimizerPass`
which need a `ScanOption`, this commit enables the syntax
like `-passes=amdgpu-atomic-optimizer<strategy=dpp>` for backend passes.



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