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

Yeting Kuo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 23:52:24 PDT 2022


fakepaper56 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:
> Is it better to rewrite to `/* TUMU */ 0`?
Sorry that I am late to ask the question.


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