about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm
diff options
context:
space:
mode:
authorAdam Gemmell <adam.gemmell@arm.com>2021-11-01 16:22:29 +0000
committerAdam Gemmell <adam.gemmell@arm.com>2021-11-03 18:04:09 +0000
commitcdd98bbdfe2fa7ce1f41725d977da9937128c681 (patch)
tree1bdd762997b9654b7e4785ae99ec98c97f8f2c99 /compiler/rustc_codegen_llvm
parent473eaa42e9365c47d129f72693b5d163a20cf369 (diff)
downloadrust-cdd98bbdfe2fa7ce1f41725d977da9937128c681.tar.gz
rust-cdd98bbdfe2fa7ce1f41725d977da9937128c681.zip
Update aarch64 `target_feature` list for LLVM 12.
Diffstat (limited to 'compiler/rustc_codegen_llvm')
-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 baa257069aa..246bb88885d 100644
--- a/compiler/rustc_codegen_llvm/src/llvm_util.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs
@@ -180,6 +180,7 @@ pub fn to_llvm_feature<'a>(sess: &Session, s: &'a str) -> Vec<&'a str> {
         ("aarch64", "dpb2") => vec!["ccdp"],
         ("aarch64", "frintts") => vec!["fptoint"],
         ("aarch64", "fcma") => vec!["complxnum"],
+        ("aarch64", "pmuv3") => vec!["perfmon"],
         (_, s) => vec![s],
     }
 }