[all-commits] [llvm/llvm-project] 139add: [InferAttrs] Mark floating-point libcalls as `errn...

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Thu Mar 13 02:42:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 139add531a5533a7591527a3e6cee7dca0f795c3
      https://github.com/llvm/llvm-project/commit/139add531a5533a7591527a3e6cee7dca0f795c3
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2025-03-13 (Thu, 13 Mar 2025)

  Changed paths:
    M llvm/include/llvm/IR/Function.h
    M llvm/include/llvm/Support/ModRef.h
    M llvm/lib/IR/Function.cpp
    M llvm/lib/Transforms/Utils/BuildLibCalls.cpp
    M llvm/test/Transforms/InferFunctionAttrs/annotate.ll

  Log Message:
  -----------
  [InferAttrs] Mark floating-point libcalls as `errno`-writing

Floating-point libcalls are currently conservatively marked as
may write any memory. Restrict these to clobber only `errno`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list