[all-commits] [llvm/llvm-project] d8f9ea: [RISCV] Teach RISCVTargetLowering::shouldSinkOpera...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Nov 30 18:57:13 PST 2021


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll

  Log Message:
  -----------
  [RISCV] Teach RISCVTargetLowering::shouldSinkOperands to handle udiv/sdiv/urem/srem.

The V extension supports .vx instructions for integer division and
remainder so we should sink splats for that operand.




More information about the All-commits mailing list