[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
Tue Aug 30 05:00:55 PDT 2022


fakepaper56 added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp:2655
+    } else if (IsVMergeTA(Opc)) {
+      Policy = 1;
+    } else
----------------
How about using RISCVII::TAIL_AGNOSTIC to replace 1?


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