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

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 09:52:09 PST 2022


craig.topper 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),
----------------
This comment appears to have been copy and pasted without updating


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