OSDN Git Service

[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)
commitd948fa6f18048e5af395719891c9651ca92df4f8
treef273c068635723b1476249c4f04d4507ca933f33
parente21fc646bed0762e0b550eae67232900f24004d1
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331988 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/fmaxnum.ll
test/CodeGen/X86/fminnum.ll