[PATCH] D36396: [AArch64] Do not promote f16 when subtarget HasFullFP16

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 15 02:48:01 PDT 2017


SjoerdMeijer updated this revision to Diff 111138.
SjoerdMeijer added a comment.

Hi Sam, Oliver, thanks for checking and reviewing. Your gut feelings were right: some more testing showed that target hook isFPImmLegal was not allowing f16. So I've modified that function, and added more tests.


https://reviews.llvm.org/D36396

Files:
  lib/Target/AArch64/AArch64ISelLowering.cpp
  test/CodeGen/AArch64/f16-imm.ll
  test/CodeGen/AArch64/f16-instructions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36396.111138.patch
Type: text/x-patch
Size: 58566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170815/100f9b6b/attachment.bin>


More information about the llvm-commits mailing list