Skip to content

Commit b18fc13

Browse files
committed
Update outdated LLVM comment
1 parent d377991 commit b18fc13

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

compiler/rustc_codegen_llvm/src/llvm_util.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,11 @@ impl<'a> IntoIterator for LLVMFeature<'a> {
192192
// to LLVM or the feature detection code will walk past the end of the feature
193193
// array, leading to crashes.
194194
//
195-
// To find a list of LLVM's names, check llvm-project/llvm/include/llvm/Support/*TargetParser.def
196-
// where the * matches the architecture's name
197-
//
198-
// For targets not present in the above location, see llvm-project/llvm/lib/Target/{ARCH}/*.td
195+
// To find a list of LLVM's names, see llvm-project/llvm/lib/Target/{ARCH}/*.td
199196
// where `{ARCH}` is the architecture name. Look for instances of `SubtargetFeature`.
200197
//
201-
// Beware to not use the llvm github project for this, but check the git submodule
202-
// found in src/llvm-project
198+
// Check the current rustc fork of LLVM in the repo at https://github.com/rust-lang/llvm-project/.
199+
// The commit in use can be found via the `llvm-project` submodule in https://github.com/rust-lang/rust/tree/master/src
203200
// Though note that Rust can also be build with an external precompiled version of LLVM
204201
// which might lead to failures if the oldest tested / supported LLVM version
205202
// doesn't yet support the relevant intrinsics

0 commit comments

Comments
 (0)