about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorsayantn <sayantn05@gmail.com>2025-03-04 20:08:28 +0530
committersayantn <sayantn05@gmail.com>2025-03-05 05:34:37 +0530
commit7c2434c52caf1fc4269dd2e376fb332d0dd78143 (patch)
tree5593a937563e033f2c7c4ba23299a675692eeeca /compiler/rustc_codegen_llvm/src
parent0ec1d460bb898a22de37bcc040f86449371bdbdb (diff)
downloadrust-7c2434c52caf1fc4269dd2e376fb332d0dd78143.tar.gz
rust-7c2434c52caf1fc4269dd2e376fb332d0dd78143.zip
Add the `movrs` target feature and `movrs_target_feature` feature gate
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm_util.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs
index e3e2e8f2c0b..7e244e0b268 100644
--- a/compiler/rustc_codegen_llvm/src/llvm_util.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs
@@ -304,6 +304,7 @@ pub(crate) fn to_llvm_features<'a>(sess: &Session, s: &'a str) -> Option<LLVMFea
         {
             None
         }
+        ("x86", "movrs") if get_version().0 < 20 => None,
         (_, s) => Some(LLVMFeature::new(s)),
     }
 }