mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
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
@ -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…
Reference in New Issue
Block a user