[all-commits] [llvm/llvm-project] 25dcca: [RISCV] Teach shouldSinkOperands that vp.add and f...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Nov 14 22:02:30 PST 2022


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

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

  Log Message:
  -----------
  [RISCV] Teach shouldSinkOperands that vp.add and friends are commutative.

We previously had a bug that our isel patterns weren't commutative,
but that has been fixed for a while.




More information about the All-commits mailing list