about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm
diff options
context:
space:
mode:
authorFolkert de Vries <folkert@folkertdev.nl>2025-09-19 20:39:47 +0200
committerFolkert de Vries <folkert@folkertdev.nl>2025-09-21 21:16:06 +0200
commit3565b0699d6830dc31732afa96272bcbd1f83606 (patch)
tree728c8d5ec39c848bfd3d25aa2882bdaa17100237 /compiler/rustc_codegen_llvm/src/llvm
parent1d23da6b7304d9e2a2c3dcb1b0aaa709cb9bc4ad (diff)
emit attribute for readonly non-pure inline assembly
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index 9a86e4373d8..fd972f371df 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -710,6 +710,7 @@ pub(crate) enum MemoryEffects {
     None,
     ReadOnly,
     InaccessibleMemOnly,
+    ReadOnlyNotPure,
 }
 
 /// LLVMOpcode