[PATCH] D96741: [RISCV] Add support for fixed vector mask logic operations.

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 02:24:44 PST 2021


frasercrmck accepted this revision.
frasercrmck added a comment.
This revision is now accepted and ready to land.

LGTM other than my suggestion.



================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td:561
 
-  // FIXME: Add remaining mask instructions.
+  def : Pat<(mti.Mask (riscv_vmand_vl (riscv_vmxor_vl VR:$rs1, true_mask,
+                                                      (XLenVT (VLOp GPR:$vl))),
----------------
I wonder if a PatFrag for our "vnot_vl" would simplify some of these?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96741



More information about the llvm-commits mailing list