Files
clang-p2996/llvm/test/Transforms/InferFunctionAttrs/annotate.ll
Daniel Woodworth 750e20e171 [InferAttrs] Mark frexp and modf as memory(argmem: write)
These two math library functions can't write to errno, but they do
produce two results and store the second result to a pointer passed as
their second argument. Appropriately marking them as
memory(argmem: write) enables more optimizations on calls to them.

Reviewed By: xbolva00

Differential Revision: https://reviews.llvm.org/D148043
2023-04-19 15:24:45 -04:00

50 KiB