Mark SMIN/SMAX/UMIN/UMAX nodes as legal and add patterns for them.
authorJames Molloy <james.molloy@arm.com>
Fri, 15 May 2015 16:15:57 +0000 (16:15 +0000)
committerJames Molloy <james.molloy@arm.com>
Fri, 15 May 2015 16:15:57 +0000 (16:15 +0000)
commitd63e0fc2d9086ed223bebc8fab8a8774fb43a1dd
tree7b2585e8dfac044b64e2016c714e439e2d1864b6
parent49f69b8e2513815789c52cfd8d2ba095de5a59af
Mark SMIN/SMAX/UMIN/UMAX nodes as legal and add patterns for them.

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
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AArch64InstrInfo.td
test/CodeGen/AArch64/minmax.ll [new file with mode: 0644]