[PATCH] D132923: [RISCV] Support peephole optimization to fold vmerge.vvm that has tail agnostic policy and unmasked intrinsics.

Jianjian Guan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 20 01:47:04 PDT 2022


jacquesguan added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp:2626
+  unsigned Offset = IsTA ? 0 : 1;
+  uint64_t Policy = IsTA ? RISCVII::TAIL_AGNOSTIC : 0; // TUMU.
+
----------------
fakepaper56 wrote:
> fakepaper56 wrote:
> > Is it better to rewrite to `/* TUMU */ 0`?
> Sorry that I am late to ask the question.
Done and thanks.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132923



More information about the llvm-commits mailing list