[clang] [Clang][OpenCL] Enable MAD contraction under the `-cl-mad-enable` flag (PR #245782)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 24 14:49:54 PST 2026


arsenm wrote:

Your rsqrt example requires contract flags which are only emitted for FP_CONTRACT fast. The phrasing of the flag implies it reduces the accuracy of fmuladd. My interpretation of "Any value allowed (infinite ulp)" for the function is equivalent to adding the afn flag to fmuladd 

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


More information about the cfe-commits mailing list