-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
Description
Support for the legacy pass manager is being actively removed in LLVM 15. We need to make -Z new-llvm-pass-manager=no
error with LLVM 15 (or warn and ignore), and remove references to certain FFI functions either exported by the Rust wrapper or llvm-c.
This would be at least the LLVMRustCreate*Pass
family of functions, as well as the LLVMPsasManagerBuilder*
family of functions. As the latter are provided by llvm-c, I guess we'd want to use weak symbols for those.
Metadata
Metadata
Assignees
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.