about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@users.noreply.github.com>2024-10-29 06:54:19 +0000
committerGitHub <noreply@github.com>2024-10-29 06:54:19 +0000
commiteae9d7ad8d858ab15b081dcbdd6bff3b8bd51d81 (patch)
treed53c6f2086556619ac56eb0392234fbab1a29a17 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentaf764db2aa36da86e517ad5e06f32795f548b100 (diff)
parent49baaf0b2dea15c9b0c0006243568fd5bc73a388 (diff)
downloadrust-eae9d7ad8d858ab15b081dcbdd6bff3b8bd51d81.tar.gz
rust-eae9d7ad8d858ab15b081dcbdd6bff3b8bd51d81.zip
Merge pull request #18431 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.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 57936215ff1..aa38c02289d 100644
--- a/compiler/rustc_codegen_llvm/src/llvm_util.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs
@@ -248,6 +248,7 @@ pub(crate) fn to_llvm_features<'a>(sess: &Session, s: &'a str) -> Option<LLVMFea
         ("aarch64", "pmuv3") => Some(LLVMFeature::new("perfmon")),
         ("aarch64", "paca") => Some(LLVMFeature::new("pauth")),
         ("aarch64", "pacg") => Some(LLVMFeature::new("pauth")),
+        ("aarch64", "pauth-lr") if get_version().0 < 19 => None,
         // Before LLVM 20 those two features were packaged together as b16b16
         ("aarch64", "sve-b16b16") if get_version().0 < 20 => Some(LLVMFeature::new("b16b16")),
         ("aarch64", "sme-b16b16") if get_version().0 < 20 => Some(LLVMFeature::new("b16b16")),