[PATCH] D139512: [RISCV] Use vfirst.m to extract the first element from mask vector.

Jianjian Guan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 18:55:52 PST 2022


jacquesguan added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td:1840
+
+  // 16.2 Vector count population in mask vcpop.m
+  def : Pat<(XLenVT (riscv_vfirst_vl (mti.Mask VR:$rs2), (mti.Mask true_mask),
----------------
craig.topper wrote:
> This comment appears to have been copy and pasted without updating
Done.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139512



More information about the llvm-commits mailing list