[PATCH] D117643: [RISCV] Add patterns for vector widening integer reduction instructions
Jianjian Guan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 19 18:33:52 PST 2022
jacquesguan added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td:651
+ defvar wti_m1 = !cast<VTypeInfo>("VI"#wti.SEW#"M1");
+ def: Pat<(wti_m1.Vector (vop (wti_m1.Vector VR:$merge),
+ (wti.Vector (extop (vti.Vector vti.RegClass:$rs1))),
----------------
frasercrmck wrote:
> The "true mask" case isn't tested by this patch.
I think this pattern with `true_mask` means unmasked, and the cases in `llvm/test/CodeGen/RISCV/rvv/vreductions-int-rv64.ll` already test this?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117643/new/
https://reviews.llvm.org/D117643
More information about the llvm-commits
mailing list