HomePhabricator

[X86] Combine fminnum/fmaxnum with non-nan operand to fmin/fmax

Authored by nikic on May 25 2019, 9:44 AM.

Description

[X86] Combine fminnum/fmaxnum with non-nan operand to fmin/fmax

If we have a known non-nan operand, place it in the second operand
of fmin/fmax that is returned if either operand is nan.

Differential Revision: https://reviews.llvm.org/D62448

llvm-svn: 361704

Details

Committed
nikicMay 25 2019, 9:44 AM
Differential Revision
D62448: [X86] Combine fminnum/fmaxnum with non-nan operand to fmin/fmax
Parents
rG6bb5041e9414: [LVI][CVP] Add support for saturating add/sub
Branches
Unknown
Tags
Unknown