Update the minimum external LLVM to 15

This commit is contained in:
Josh Stone
2023-07-27 14:07:08 -07:00
parent 9339f446a5
commit 190ded8443
44 changed files with 42 additions and 221 deletions

View File

@@ -507,8 +507,6 @@ pub(crate) fn global_llvm_features(sess: &Session, diagnostics: bool) -> Vec<Str
.features
.split(',')
.filter(|v| !v.is_empty() && backend_feature_name(v).is_some())
// Drop +atomics-32 feature introduced in LLVM 15.
.filter(|v| *v != "+atomics-32" || get_version() >= (15, 0, 0))
.map(String::from),
);