[AArch64] Vector FCOPYSIGN supports Custom-lowering: mark it as such.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 4 Aug 2015 00:42:34 +0000 (00:42 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 4 Aug 2015 00:42:34 +0000 (00:42 +0000)
commita05d8be1a2048529fd63aca98acc609f25890c74
treec8a86a944c549b655f14fbb1f5841d2b9e9e4c23
parent5ce70cc2c13ebe63faa4911e6f4e8771a1f5f39b
[AArch64] Vector FCOPYSIGN supports Custom-lowering: mark it as such.

There's a bunch of code in LowerFCOPYSIGN that does smart lowering, and
is actually already vector-aware; let's use it instead of scalarizing!

The only interesting change is that for v2f32, we previously always used
use v4i32 as the integer vector type.
Use v2i32 instead, and mark FCOPYSIGN as Custom.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243926 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/vector-fcopysign.ll