Currently, the ARM backend will select the VMAXNM and VMINNM for these C
expressions:
(a < b) ? a : b (a > b) ? a : b
but not these expressions:
(a > b) ? b : a (a < b) ? b : a
This patch allows all of these expressions to be matched.
Paths
| Differential D5971
[ARM] Select VMAXNM and VMINNM regardless of operand order ClosedPublic Authored by olista01 on Oct 24 2014, 5:44 AM.
Details
Summary Currently, the ARM backend will select the VMAXNM and VMINNM for these C (a < b) ? a : b (a > b) ? a : b but not these expressions: (a > b) ? b : a (a < b) ? b : a This patch allows all of these expressions to be matched.
Diff Detail Event Timelineolista01 updated this object. This revision is now accepted and ready to land.Oct 25 2014, 5:12 AM
Revision Contents
Diff 15407 lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/vminmaxnm.ll
|