[VE] Change to expand multiply related instructions
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Tue, 4 Aug 2020 07:41:12 +0000 (16:41 +0900)
committerKazushi (Jam) Marukawa <marukawa@nec.com>
Fri, 7 Aug 2020 09:22:25 +0000 (18:22 +0900)
commit63bc5d7863296acbf4a824b0178e80c073c08726
treeb5fa9ebba6731de4302c63cbcefa26e9c37d5d66
parent3ac1eb6358b172f54788def4125f80ddd9170d8e
[VE] Change to expand multiply related instructions

Change to expand MULHU/MULHS/UMUL_LOHI/SMUL_LOHI for i32 and i64 since
those instructions are not available on Aurora SX VE.  Some of them
are used in expansion of i128 multiply, so need to modify them to
support i128.  Then, update basic arithmetic regression tests of
i128 and signed/unsigned i32 typed integer values.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D85490
llvm/lib/Target/VE/VEISelLowering.cpp
llvm/test/CodeGen/VE/addition.ll
llvm/test/CodeGen/VE/div.ll
llvm/test/CodeGen/VE/multiply.ll
llvm/test/CodeGen/VE/rem.ll
llvm/test/CodeGen/VE/subtraction.ll