[ARM] VMOVhr load -> vldr
authorDavid Green <david.green@arm.com>
Wed, 6 May 2020 14:41:32 +0000 (15:41 +0100)
committerDavid Green <david.green@arm.com>
Wed, 6 May 2020 14:45:56 +0000 (15:45 +0100)
commitf5f83cf4df3e75d8b88214928af19b64849c432a
tree404f85f120991d008c6b72aff600b810fdef3a97
parente38018b80d8e60206268740c688236734dea7b86
[ARM] VMOVhr load -> vldr

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.

Differential Revision: https://reviews.llvm.org/D78714
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/Thumb2/mve-vcmpfr.ll