[all-commits] [llvm/llvm-project] 304edb: [RISCV] SMUL_LOHI/UMUL_LOHI should expand for RVV.

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Nov 8 09:38:53 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 304edbb553d04341227c8766621e024d6f9fd390
      https://github.com/llvm/llvm-project/commit/304edbb553d04341227c8766621e024d6f9fd390
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-11-08 (Mon, 08 Nov 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list