[all-commits] [llvm/llvm-project] fde91d: Reland "[Pass][CodeGen] Add some necessary passes ...

paperchalice via All-commits all-commits at lists.llvm.org
Thu Dec 14 20:31:06 PST 2023


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

  Changed paths:
    M llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
    M llvm/include/llvm/CodeGen/MachinePassRegistry.def
    M llvm/lib/CodeGen/CodeGenPassBuilder.cpp

  Log Message:
  -----------
  Reland "[Pass][CodeGen] Add some necessary passes for codegen" (#71783)

Unfortunately, there are two `KCFI` passes in source tree,
`CodeGen/KCFI.cpp` and `Transforms/Instrumentation/KCFI.cpp`, use
`MachineKCFIPass` for machine function pass.
`MIRProfileLoaderPass` is resolved to the legacy one when
`LLVM_ENABLE_MODULES=ON`, use `MIRProfileLoaderNewPass` as a workaround.




More information about the All-commits mailing list