[InstSimplify] add tests for minnum/maxnum; NFC
authorSanjay Patel <spatel@rotateright.com>
Sun, 15 Jul 2018 14:46:48 +0000 (14:46 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 15 Jul 2018 14:46:48 +0000 (14:46 +0000)
commitef71b704c21c33c744f104ca443ba671270b3c3a
tree870db58bf5a1ee417fdc7f4ed69dd2f079caf8a2
parentf279169d9e08090567b4f84baccf7e2c23c06ab3
[InstSimplify] add tests for minnum/maxnum; NFC

This isn't the best fix for PR37776, but it probably
hides the bug with the given code example:
https://bugs.llvm.org/show_bug.cgi?id=37776

We have another test to demonstrate the more general
bug.

llvm-svn: 337126
llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll