summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-11-07 15:11:32 +0000
committerSanjay Patel <spatel@rotateright.com>2018-11-07 15:11:32 +0000
commit76faf5145df17deff4a278e938918ea71817e74c (patch)
tree8abb4fa04bb46c5d81125a60d379682d88ce40ff /llvm/test/CodeGen/Generic
parentc006a0ad4b935f14bbe678733c41e42f45b750cc (diff)
downloadbcm5719-llvm-76faf5145df17deff4a278e938918ea71817e74c.tar.gz
bcm5719-llvm-76faf5145df17deff4a278e938918ea71817e74c.zip
[InstCombine] add fold for fabs(X) u< 0.0
The sibling fold for 'oge' --> 'ord' was already here, but this half was missing. The result of fabs() must be positive or nan, so asking if the result is negative or nan is the same as asking if the result is nan. This is another step towards fixing: https://bugs.llvm.org/show_bug.cgi?id=39475 llvm-svn: 346321
Diffstat (limited to 'llvm/test/CodeGen/Generic')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud