[ARM] Extract from a VDUP
authorDavid Green <david.green@arm.com>
Wed, 6 May 2020 12:58:17 +0000 (13:58 +0100)
committerDavid Green <david.green@arm.com>
Wed, 6 May 2020 13:51:25 +0000 (14:51 +0100)
commita349949f8ab15c50750880001b4c132aef29da25
tree63cacedcfb8b45c8c6a969aac276af15954d9179
parent319787315dd65f05aea562760cf57ac486bd2812
[ARM] Extract from a VDUP

If we get into the situation where we are extracting from a VDUP, the
extracted value is just the origin, so long as the types match or we can
bitcast between the two.

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