[all-commits] [llvm/llvm-project] 8566cd: [CodeGen] Let `PassBuilder` support machine passes...

paperchalice via All-commits all-commits at lists.llvm.org
Fri Jan 12 19:28:19 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8566cd61246cf8649eb12c4cf96a72f3203fee98
      https://github.com/llvm/llvm-project/commit/8566cd61246cf8649eb12c4cf96a72f3203fee98
  Author: paperchalice <liujunchang97 at outlook.com>
  Date:   2024-01-13 (Sat, 13 Jan 2024)

  Changed paths:
    M llvm/include/llvm/Passes/PassBuilder.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/unittests/MIR/CMakeLists.txt
    A llvm/unittests/MIR/PassBuilderCallbacksTest.cpp

  Log Message:
  -----------
  [CodeGen] Let `PassBuilder` support machine passes (#76320)

`PassBuilder` would be a better place to parse MIR pipeline. We can
reuse the code to support parsing pass with parameters and targets can
reuse `registerPassBuilderCallbacks` to register the target specific
passes. `PassBuilder` also has ability to check whether a Pass is a
machine pass.




More information about the All-commits mailing list