[all-commits] [llvm/llvm-project] c285b7: [RISCV] Add tests for vmadd for VP intrinsics. NFC...

Luke Lau via All-commits all-commits at lists.llvm.org
Wed Oct 25 23:59:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c285b7f5139d0870d5ccbdc3f73b254004211030
      https://github.com/llvm/llvm-project/commit/c285b7f5139d0870d5ccbdc3f73b254004211030
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    A llvm/test/CodeGen/RISCV/rvv/vmadd-vp.ll

  Log Message:
  -----------
  [RISCV] Add tests for vmadd for VP intrinsics. NFC (#70042)

We have VP tests for vmacc but not vmadd. This copies the vmacc tests
but swaps
the false operand of vp.merge to be the multiplicand instead of the
addend.

This shows how we could fold the vmerge into the vmadd's mask if we
commuted %a
and %b.




More information about the All-commits mailing list