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.
parent
2a21260e
Please register or sign in to comment