[PATCH] D93746: [RISCV] Define vector single-width reduction intrinsic.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 23 11:53:37 PST 2020


craig.topper added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/rvv/vfredmax-rv64.ll:5
+  <vscale x 4 x half>,
+  <vscale x 1 x half>,
+  <vscale x 4 x half>,
----------------
The description in IntrinsicsRISCV.td says "The LMUL of second source vector must be 1."  But this intrinsic has the destination, first, and third sources as LMUL=1 and the second source as LMUL=1/4.

It looks like every test in this file has LMUL=1 destination and the second source vector is the type that varies. So is the comment in IntrinsicsRISCV.td wrong?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93746/new/

https://reviews.llvm.org/D93746



More information about the llvm-commits mailing list