diff options
| author | Laurențiu Nicola <lnicola@users.noreply.github.com> | 2025-06-09 12:55:47 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-09 12:55:47 +0000 |
| commit | f5bfde2303f7b6784224230a8cb8d2bcb743b9f8 (patch) | |
| tree | 1fa465adaaf07355079312d2e1aa3e8594acadc7 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 37c8788c5ecadcd2fc55435bcd7a4677884d541e (diff) | |
| parent | 88223c56d9352a14bf4e91d706d68ca3a696bcdf (diff) | |
| download | rust-f5bfde2303f7b6784224230a8cb8d2bcb743b9f8.tar.gz rust-f5bfde2303f7b6784224230a8cb8d2bcb743b9f8.zip | |
Merge pull request #19954 from lnicola/sync-from-rust
minor: Sync from downstream
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm_util.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs index 8f57f0983ab..9718c95f38a 100644 --- a/compiler/rustc_codegen_llvm/src/llvm_util.rs +++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs @@ -282,6 +282,14 @@ pub(crate) fn to_llvm_features<'a>(sess: &Session, s: &'a str) -> Option<LLVMFea } // Filter out features that are not supported by the current LLVM version ("riscv32" | "riscv64", "zacas") if get_version().0 < 20 => None, + ( + "s390x", + "message-security-assist-extension12" + | "concurrent-functions" + | "miscellaneous-extensions-4" + | "vector-enhancements-3" + | "vector-packed-decimal-enhancement-3", + ) if get_version().0 < 20 => None, // Enable the evex512 target feature if an avx512 target feature is enabled. ("x86", s) if s.starts_with("avx512") => Some(LLVMFeature::with_dependencies( s, |
