[Mlir-commits] [llvm] [mlir] [InferAttrs] Mark errnomem-setting libcalls as such (PR #124742)

Antonio Frighetto llvmlistbot at llvm.org
Wed Feb 12 12:07:53 PST 2025


================
@@ -672,13 +703,15 @@ bool llvm::inferNonMandatoryLibFuncAttrs(Function &F,
     Changed |= setDoesNotThrow(F);
     Changed |= setDoesNotCapture(F, 0);
     Changed |= setOnlyReadsMemory(F, 0);
+    Changed |= setOnlyAccessesErrnoMemory(F);
----------------
antoniofrighetto wrote:

Reviewed, thanks.

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


More information about the Mlir-commits mailing list