diff options
| author | Ralf Jung <post@ralfj.de> | 2025-05-05 15:26:06 +0200 | 
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-05-09 17:39:52 +0200 | 
| commit | 79dfd0a472c7a994bfe090cc95034b36d38e6b53 (patch) | |
| tree | bd7c929ba0ada3f8f3fd8ee3dbb70dd379bb7977 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs | |
| parent | 0eb0b8cb67ff2c37eab775eaac6b330347e5c97f (diff) | |
| download | rust-79dfd0a472c7a994bfe090cc95034b36d38e6b53.tar.gz rust-79dfd0a472c7a994bfe090cc95034b36d38e6b53.zip  | |
remove 'unordered' atomic intrinsics
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index ffb490dcdc2..a249cb86ed4 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -415,6 +415,7 @@ impl AtomicRmwBinOp { pub(crate) enum AtomicOrdering { #[allow(dead_code)] NotAtomic = 0, + #[allow(dead_code)] Unordered = 1, Monotonic = 2, // Consume = 3, // Not specified yet. @@ -428,7 +429,6 @@ impl AtomicOrdering { pub(crate) fn from_generic(ao: rustc_codegen_ssa::common::AtomicOrdering) -> Self { use rustc_codegen_ssa::common::AtomicOrdering as Common; match ao { - Common::Unordered => Self::Unordered, Common::Relaxed => Self::Monotonic, Common::Acquire => Self::Acquire, Common::Release => Self::Release,  | 
