AArch64: implement efficient f16 bitcasts
authorTim Northover <tnorthover@apple.com>
Fri, 18 Jul 2014 13:07:05 +0000 (13:07 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 18 Jul 2014 13:07:05 +0000 (13:07 +0000)
commitf8bfe21fad8f4c1ca41e583ef6fd7aae5b17e95e
tree19a1d2de140a56753d70fb502f2c76bc74a59285
parent9e108a0e3a21d18eb4768371121c830bac0c2198
AArch64: implement efficient f16 bitcasts

Because i16 is illegal, there's no native DAG method to
represent a bitcast to or from an f16 type. This meant LLVM was
inserting a stack store/load pair which is really not ideal.

llvm-svn: 213378
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/half.ll