Merging r258471:
authorHans Wennborg <hans@hanshq.net>
Thu, 28 Jan 2016 18:16:55 +0000 (18:16 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 28 Jan 2016 18:16:55 +0000 (18:16 +0000)
commit131d76722983cb030c392bcb50bba940e98ea0c6
tree15464679f6d14344f1e2e1044aea60aa86f13b71
parent82cf8c0ebce3d4cac59da2cc36df0c0cd9730d72
Merging r258471:
------------------------------------------------------------------------
r258471 | pirama | 2016-01-21 17:16:57 -0800 (Thu, 21 Jan 2016) | 14 lines

Do not lower VSETCC if operand is an f16 vector

Summary:
SETCC with f16 vectors has OperationAction set to Expand but still gets
lowered to FCM* intrinsics based on its result type.  This patch skips
lowering of VSETCC if the operand is an f16 vector.

v4 and v8 tests included.

Reviewers: ab, jmolloy

Subscribers: srhines, llvm-commits

Differential Revision: http://reviews.llvm.org/D15361
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_38@259064 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/fp16-v4-instructions.ll
test/CodeGen/AArch64/fp16-v8-instructions.ll