[all-commits] [llvm/llvm-project] ab0d8f: Reland "[CodeGen] Support start/stop in CodeGenPas...

paperchalice via All-commits all-commits at lists.llvm.org
Fri Jan 19 16:38:34 PST 2024


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

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

  Log Message:
  -----------
  Reland "[CodeGen] Support start/stop in CodeGenPassBuilder (#70912)" (#78570)

Unfortunately the legacy pass system can't recognize `no-op-module` and
`no-op-function` so it causes test failure in `CodeGenTests`. Add a
workaround in function `PassInfo *getPassInfo(StringRef PassName)`,
`TargetPassConfig.cpp`.




More information about the All-commits mailing list