[PATCH] Constant fold undefined sqrt to undef instead of 0
Matt Arsenault
Matthew.Arsenault at amd.com
Tue Dec 17 14:35:27 PST 2013
On 12/17/2013 02:21 PM, Owen Anderson wrote:
> AFAIK this isn’t valid, because sqrt() can’t return a negative value.
>
sqrt(-0.0) is -0.0
More information about the llvm-commits
mailing list