[PATCH] D78587: [ARM] Always replace FP16 bitcasts with VMOVhr or VMOVrh

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 21 13:33:36 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, efriedma, ostannard.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
dmgreen retitled this revision from "[ARM] Always replace FP16 bitcasts with VMOVhr or VMOVhr" to "[ARM] Always replace FP16 bitcasts with VMOVhr or VMOVrh".

This changes the logic with lowering fp16 bitcasts to always produce either a VMOVhr or a VMOVrh, instead of only trying to do it with certain surrounding nodes. To perform the same optimisations demand bits and known bits information has been added for them.


https://reviews.llvm.org/D78587

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/CodeGen/Thumb2/mve-intrinsics/vminvq.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78587.259094.patch
Type: text/x-patch
Size: 9147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200421/71add162/attachment-0001.bin>


More information about the llvm-commits mailing list