Update the minimum external LLVM to 11

This commit is contained in:
Josh Stone 2021-10-19 10:24:26 -07:00
parent 68a698baf6
commit 65150af1b4
47 changed files with 40 additions and 189 deletions

View file

@ -95,8 +95,7 @@ unsafe fn configure_llvm(sess: &Session) {
// Ref:
// - https://github.com/rust-lang/rust/issues/85351
// - https://reviews.llvm.org/D103167
let llvm_version = llvm_util::get_version();
if llvm_version >= (11, 0, 0) && llvm_version < (13, 0, 0) {
if llvm_util::get_version() < (13, 0, 0) {
add("-enable-machine-outliner=never", false);
}