llvm-16: Don't initialize removed legacy passes
LLVM removed initialization for legacy passes: https://reviews.llvm.org/D136615
This commit is contained in:
parent
bed4ad65bf
commit
6ea75aea56
1 changed files with 2 additions and 0 deletions
|
@ -69,7 +69,9 @@ extern "C" void LLVMInitializePasses() {
|
|||
initializeAnalysis(Registry);
|
||||
initializeTransformUtils(Registry);
|
||||
initializeInstCombine(Registry);
|
||||
#if LLVM_VERSION_LT(16, 0)
|
||||
initializeInstrumentation(Registry);
|
||||
#endif
|
||||
initializeTarget(Registry);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue