[PATCH] [ARM] Select VMAXNM and VMINNM regardless of operand order
Oliver Stannard
oliver.stannard at arm.com
Fri Oct 24 05:44:25 PDT 2014
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.
http://reviews.llvm.org/D5971
Files:
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/vminmaxnm.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5971.15407.patch
Type: text/x-patch
Size: 6166 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141024/cf08640d/attachment.bin>
More information about the llvm-commits
mailing list