[PATCH] D78714: [ARM] VMOVhr load -> vldr

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 23 07:32:17 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: efriedma, samparker, SjoerdMeijer, ostannard, simon_tatham.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.

Much like the similar combine added recently for VMOVrh load, this adds a fold for VMOVhr load turning it into a vldr.f16 as opposed to a vldrh and vmov.f16.

It only comes up in certain lowerings, so the test isn't the greatest.


https://reviews.llvm.org/D78714

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78714.259562.patch
Type: text/x-patch
Size: 6856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200423/1dd5966c/attachment.bin>


More information about the llvm-commits mailing list