[PATCH] D130442: [RISCV] Peephole optimization to fold merge.vvm and unmasked intrinsics.

Yeting Kuo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 29 01:11:21 PDT 2022


fakepaper56 marked an inline comment as done.
fakepaper56 added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp:2530
+    unsigned Opc = N->getMachineOpcode();
+    // FIXME: Also deal with PseudoVMERGE_VVM_<LMUL>
+    if (Opc != RISCV::PseudoVMERGE_VVM_MF8_TU &&
----------------
reames wrote:
> Extract out a helper function for the opcode matching please.
Done.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130442



More information about the llvm-commits mailing list