diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-01-07 19:55:12 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-01-07 19:55:12 +0000 |
commit | a7d219416880db0cae194e2b6339201e0cc0e4f5 (patch) | |
tree | b4fe497852c5b8622db75bb62f016cdf049a79b6 /llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp | |
parent | 917316fc5d910f9af26e592eef69f6d79397ba6d (diff) | |
download | bcm5719-llvm-a7d219416880db0cae194e2b6339201e0cc0e4f5.tar.gz bcm5719-llvm-a7d219416880db0cae194e2b6339201e0cc0e4f5.zip |
SimplifyLibCalls: Remove incorrect optimization of fabs
fabs(x * x) is not generally safe to assume x is positive if x is a NaN.
This is also less general than it could be, so this will be replaced
with a transformation on the intrinsic.
llvm-svn: 291359
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp')
0 files changed, 0 insertions, 0 deletions