[VE] udiv/sdiv/urem/srem/mul isel patterns
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Wed, 29 Jan 2020 14:59:29 +0000 (15:59 +0100)
committerSimon Moll <simon.moll@emea.nec.com>
Wed, 29 Jan 2020 14:59:50 +0000 (15:59 +0100)
commit0bec0e71514a038f828b147725f44c5ed03a608b
treeea48192a6a1dcd388faa024fd6af22ef65614914
parentc2dcdf95eba0d8210bf456821b8afff9b22a7bc9
[VE] udiv/sdiv/urem/srem/mul isel patterns

Summary:
udiv/sdiv/urem/srem/mul integer isel patterns and tests.
Pretend for now that integer division were always cheap in HW.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D73623
llvm/lib/Target/VE/VEISelLowering.cpp
llvm/lib/Target/VE/VEISelLowering.h
llvm/lib/Target/VE/VEInstrInfo.td
llvm/test/CodeGen/VE/div.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/multiply.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/rem.ll [new file with mode: 0644]