summaryrefslogtreecommitdiff
path: root/test/CodeGen/AArch64/minmax.ll
AgeCommit message (Collapse)Author
2015-06-04Don't create a MIN/MAX node if the underlying compare has more than one use.James Molloy
If the compare in a select pattern has another use then it can't be removed, so we'd just be creating repeated code if we created a min/max node. Spotted by Matt Arsenault! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239037 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-15Mark SMIN/SMAX/UMIN/UMAX nodes as legal and add patterns for them.James Molloy
The new [SU]{MIN,MAX} SDNodes can be lowered directly to instructions for most NEON datatypes - the big exclusion being v2i64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237455 91177308-0d34-0410-b5e6-96231b3b80d8