[RISCV] SMUL_LOHI/UMUL_LOHI should expand for RVV.
authorCraig Topper <craig.topper@sifive.com>
Mon, 8 Nov 2021 17:25:10 +0000 (09:25 -0800)
committerCraig Topper <craig.topper@sifive.com>
Mon, 8 Nov 2021 17:38:36 +0000 (09:38 -0800)
commit304edbb553d04341227c8766621e024d6f9fd390
treee65e78582666ebb04739a828b8c8c4d1748f4fde
parent9a2fdc369dae21a6bb1d2145479a76d3775c980b
[RISCV] SMUL_LOHI/UMUL_LOHI should expand for RVV.

These and MULHS/MULHU both default to Legal. Targets need to set
the ones they don't support to Expand.

I think MULHS/MULHU likely has priority in most places so this
change probably isn't directly testable. I found it while looking
at disabling MULHS/MULHU for nxvXi64 as required for Zve64x.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D113325
llvm/lib/Target/RISCV/RISCVISelLowering.cpp