Skip to content
Unverified Commit fde91d1b authored by paperchalice's avatar paperchalice Committed by GitHub
Browse files

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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment