This adds the patterns for minnm and maxnm from the fminnum and fmaxnum nodes, similar to scalar types.
Patch by Simon Tatham
Paths
| Differential D63870
[ARM] MVE minnm and maxnm instructions ClosedPublic Authored by dmgreen on Jun 27 2019, 4:14 AM.
Details Summary This adds the patterns for minnm and maxnm from the fminnum and fmaxnum nodes, similar to scalar types. Patch by Simon Tatham
Diff Detail
Event Timelinedmgreen added a parent revision: D63867: [ARM] MVE bitwise instruction patterns.Jun 27 2019, 4:14 AM
dmgreen added inline comments.
Comment Actions That test was added in rL365496, to show MVE codegen where no fp instructions are present. This case would be like that without any fpu, just with more __aeabi_fcmpgt and movne's. I think this at least shows the expansion is happening correctly (plus is sidesteps an issues with these being turned into selects, which are not handled yet). This revision is now accepted and ready to land.Jul 12 2019, 6:28 AM Closed by commit rL366002: [ARM] MVE minnm and maxnm instructions (authored by dmgreen). · Explain WhyJul 13 2019, 7:30 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 209691 llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
llvm/trunk/lib/Target/ARM/ARMInstrMVE.td
llvm/trunk/test/CodeGen/Thumb2/mve-minmax.ll
|