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

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Sep 21 10:08:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aeb63d464f30db5e32da1449a650eec8c85d95bd
      https://github.com/llvm/llvm-project/commit/aeb63d464f30db5e32da1449a650eec8c85d95bd
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-09-21 (Tue, 21 Sep 2021)

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

  Log Message:
  -----------
  [RISCV] Teach RISCVTargetLowering::shouldSinkOperands to sink splats for and/or/xor.

This requires a minor change to CodeGenPrepare to ensure that
shouldSinkOperands will be called for And.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D110106




More information about the All-commits mailing list