[LV] NFC: Replace custom getMemInstValueType by llvm::getLoadStoreType.
authorSander de Smalen <sander.desmalen@arm.com>
Tue, 1 Jun 2021 14:30:00 +0000 (15:30 +0100)
committerSander de Smalen <sander.desmalen@arm.com>
Wed, 2 Jun 2021 13:09:06 +0000 (14:09 +0100)
commit3472d3fd9d4a5e55f9435dcb27a100d3efb2d484
tree309538fb57f9cd28bc927af6558c243060902b36
parent0195e594feccaffc483a3780e6d65daeb72922a4
[LV] NFC: Replace custom getMemInstValueType by llvm::getLoadStoreType.

llvm::getLoadStoreType was added recently and has the same implementation
as 'getMemInstValueType' in LoopVectorize.cpp. Since there is no
value in having two implementations, this patch removes the custom LV
implementation in favor of the generic one defined in Instructions.h.
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp