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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D62448
[X86] Combine fminnum/fmaxnum with non-nan operand to fmin/fmax ClosedPublic Authored by nikic on May 25 2019, 8:21 AM.
Details Summary 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.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 25 2019, 8:32 AM Closed by commit rL361704: [X86] Combine fminnum/fmaxnum with non-nan operand to fmin/fmax (authored by nikic). · Explain WhyMay 25 2019, 9:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 201410 llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
llvm/trunk/test/CodeGen/X86/extract-fp.ll
llvm/trunk/test/CodeGen/X86/fmaxnum.ll
llvm/trunk/test/CodeGen/X86/fminnum.ll
|