[VE] Support load/store vm regsiters
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Sat, 25 Jun 2022 02:34:08 +0000 (11:34 +0900)
committerKazushi (Jam) Marukawa <marukawa@nec.com>
Thu, 30 Jun 2022 23:25:24 +0000 (08:25 +0900)
commitadbb46ea651cb44b6d1661ab31389db41bd1f314
tree05e6c8a18a35a6a706bb1c16ea3e6a5d3b9cc308
parent3abf3df08adb532af318dd0b39c6bff17c81e9b0
[VE] Support load/store vm regsiters

Support load/store vm registers to memory location as a first step.
As a next step, support load/store vm registers to stack location.
This patch also adds several regression tests for not only load/store
vm registers but also missing load/store for vr registers.

Reviewed By: efocht

Differential Revision: https://reviews.llvm.org/D128610
llvm/lib/Target/VE/VEISelLowering.cpp
llvm/test/CodeGen/VE/Vector/loadvm.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/Vector/loadvr.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/Vector/storevm.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/Vector/storevr.ll [new file with mode: 0644]