================
@@ -1931,19 +1890,22 @@ def CIR_SideEffect : CIR_I32Enum<
       `__attribute__((pure))`.
     - const: The function or callee may not read or write data from memory. 
This
       has the same effect as the GNU C/C++ attribute `__attribute__((const))`.
+    - inaccessible_or_errno: The function or callee may only access 
inaccessible
+      memory and errno. This matches LLVM
+      `memory(inaccessiblemem: readwrite, errnomem: write)` used for sane
----------------
erichkeane wrote:

Yeah, this is really my thought as well, we should probably just use 
MemoryEffectsAttr and pass them on with teh same logic as classic codgen 
everywhere.

https://github.com/llvm/llvm-project/pull/221818
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to