[clang] [TBAA] Emit int TBAA metadata on FP math libcalls (PR #96025)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 21 14:17:42 PDT 2024


efriedma-quic wrote:

> > Can we restrict this to targets where libm actually modifies errno?
> 
> Do you mean it is better to have a function list, which actually modifies `errno` ? For example, we should restrict to `__exp10`, but but not a general top call `__exp `?

I said targets, not functions.  For example, MacOS never set errno for math functions.

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


More information about the cfe-commits mailing list