about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorjam1garner <jam@jam1.re>2022-07-18 20:40:41 -0400
committerjam1garner <jam@jam1.re>2022-07-18 20:40:41 -0400
commitbec3a545a55590dd8029bad61d5ea18416c4caf8 (patch)
tree107db82de4dfa5fb336cf826cd7ec5a4b53ddc72 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parented9173276a176126150b4c684a4262a135ce51ef (diff)
downloadrust-bec3a545a55590dd8029bad61d5ea18416c4caf8.tar.gz
rust-bec3a545a55590dd8029bad61d5ea18416c4caf8.zip
Add support for MIPS VZ ISA extension
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm_util.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs
index a0a640473eb..47590c8578c 100644
--- a/compiler/rustc_codegen_llvm/src/llvm_util.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs
@@ -165,6 +165,10 @@ pub fn time_trace_profiler_finish(file_name: &Path) {
 //
 // To find a list of LLVM's names, check llvm-project/llvm/include/llvm/Support/*TargetParser.def
 // where the * matches the architecture's name
+//
+// For targets not present in the above location, see llvm-project/llvm/lib/Target/{ARCH}/*.td
+// where `{ARCH}` is the architecture name. Look for instances of `SubtargetFeature`.
+//
 // Beware to not use the llvm github project for this, but check the git submodule
 // found in src/llvm-project
 // Though note that Rust can also be build with an external precompiled version of LLVM