Teach the AArch64 backend to handle f16
authorOliver Stannard <oliver.stannard@arm.com>
Mon, 18 Aug 2014 14:22:39 +0000 (14:22 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Mon, 18 Aug 2014 14:22:39 +0000 (14:22 +0000)
commiteb922109f9d451c05dd258df5e4580ebc3249e51
treec8ad27fcc16b4f9b3f1cb0ecd131708e30b711af
parent802d420792769f789f372748a739aa10feccbb26
Teach the AArch64 backend to handle f16

This allows the AArch64 backend to handle fadd, fsub, fmul and fdiv
operations on f16 (half-precision) types by promoting to f32.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215891 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/fp16-instructions.ll [new file with mode: 0644]