[Mlir-commits] [clang] [llvm] [mlir] [IR][ModRef] Introduce `errno` memory location (PR #120783)

Eli Friedman llvmlistbot at llvm.org
Fri Jan 10 15:42:24 PST 2025


================
@@ -82,7 +82,7 @@ define void @test_store(ptr %p) {
 
 @G = external global ptr
 define i8 @test_store_capture(ptr %p) {
-; FNATTRS: Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: read, inaccessiblemem: none)
+; FNATTRS: Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: read, inaccessiblemem: none, errnomem: none)
----------------
efriedma-quic wrote:

How are we inferring `errnomem: none` here?

https://github.com/llvm/llvm-project/pull/120783


More information about the Mlir-commits mailing list