[x86] add tests for maxnum/minnum intrinsics with nnan; NFC
authorSanjay Patel <spatel@rotateright.com>
Thu, 10 May 2018 14:48:42 +0000 (14:48 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 10 May 2018 14:48:42 +0000 (14:48 +0000)
commitbe97134955c1f3df67808afbccefeea19f5ef5ef
tree3dc54decc78b468baab3bc26916cce27861fe175
parent2a0810e27f5c576420f600ef549b1cb5313d951e
[x86] add tests for maxnum/minnum intrinsics with nnan; NFC

Clang 6.0 was updated to create these intrinsics rather than
libcalls or fcmp/select, but the backend wasn't prepared to
handle that optimally.

This bug is not the primary reason for PR37403:
https://bugs.llvm.org/show_bug.cgi?id=37403
...but it's probably more important for x86 perf.

llvm-svn: 331988
llvm/test/CodeGen/X86/fmaxnum.ll
llvm/test/CodeGen/X86/fminnum.ll