about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-08-12 11:10:26 +0200
committerRalf Jung <post@ralfj.de>2024-08-12 11:42:38 +0200
commit75743dc5a057cdc0678d88523edbbf3fdd1bf901 (patch)
tree98316bab6ec77b2df1eb4b2d7e1319a495330fda /compiler/rustc_codegen_llvm/src
parent697787a92d8858b17bfe3e55c3e82877149f8f83 (diff)
downloadrust-75743dc5a057cdc0678d88523edbbf3fdd1bf901.tar.gz
rust-75743dc5a057cdc0678d88523edbbf3fdd1bf901.zip
make the codegen test also cover an ill-behaved arch, and add links
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
-rw-r--r--compiler/rustc_codegen_llvm/src/builder.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/builder.rs b/compiler/rustc_codegen_llvm/src/builder.rs
index 20bf580a716..8e7a99e46a5 100644
--- a/compiler/rustc_codegen_llvm/src/builder.rs
+++ b/compiler/rustc_codegen_llvm/src/builder.rs
@@ -737,6 +737,8 @@ impl<'a, 'll, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> {
                 // a hint, and use regular stores everywhere else.
                 // (In the future, we could alternatively ensure that an sfence gets emitted after a sequence of movnt
                 // before any kind of synchronizing operation. But it's not clear how to do that with LLVM.)
+                // For more context, see <https://github.com/rust-lang/rust/issues/114582> and
+                // <https://github.com/llvm/llvm-project/issues/64521>.
                 const WELL_BEHAVED_NONTEMPORAL_ARCHS: &[&str] =
                     &["aarch64", "arm", "riscv32", "riscv64"];