[Mlir-commits] [llvm] [mlir] [InferAttrs] Mark errnomem-setting libcalls as such (PR #124742)
Antonio Frighetto
llvmlistbot at llvm.org
Wed Feb 12 12:08:50 PST 2025
antoniofrighetto wrote:
Changes overview from The Open Group Base Specifications:
1) `strtol` (and variants), `strxfrm`, `strcoll`, `scanf` (and variants), `printf`/`sprintf` (and variants), `stat` (and variants), `setitimer`, `getitimer`, `read`, `realpath`, `fseek`, `ftell`, `uname`, `perror`: setOnlyAccessesArgMemOrErrnoMem
3) `malloc`, `memalign`, `calloc`, `tmpfile`: setOnlyAccessesInaccessibleMemOrErrnoMem
4) Do access inaccessible memory / may have side-effects / access filesystem / FILE stream memory: `strdup`, `system`, `mkdir`, `mktime`, `realloc`, `open` (and variants), `gettimeofday`, `chmod`, `chown`, `fscanf`, `fprintf`, `fread`, `fgetpos`, `unlink`, `unsetenv`, `utime`, `getpwnam`, `opendir`, `rename`, `rmdir`, `pclose`, `write`: setOnlyAccessesInaccessibleMemOrArgMemOrErrnoMem
https://github.com/llvm/llvm-project/pull/124742
More information about the Mlir-commits
mailing list