[PATCH] D76485: [ARM] Fold VMOVrh VLDR to LDRH
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 20 03:13:21 PDT 2020
dmgreen created this revision.
dmgreen added reviewers: efriedma, SjoerdMeijer, samparker, ostannard, t.p.northover.
Herald added subscribers: hiraditya, kristof.beyls.
This adds a simple fold to combine `VMOVrh load` to a integer `load`. This is similar to what is already done for `BITCAST`, but needs to account for the types being of different sizes, creating an extending load.
https://reviews.llvm.org/D76485
Files:
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/Thumb2/mve-float16regloops.ll
llvm/test/CodeGen/Thumb2/mve-vcmpfr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76485.251584.patch
Type: text/x-patch
Size: 22300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200320/f4866a38/attachment-0001.bin>
More information about the llvm-commits
mailing list