[PATCH] D141891: [VP][DAGCombiner] Introduce generalized pattern match for vp sdnodes.

Yeting Kuo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 2 01:37:01 PST 2023


fakepaper56 updated this revision to Diff 494207.
fakepaper56 added a comment.

Use `is_same_v` and rename `getVPForFunctionOpcode` to `getVPForBaseOpcode`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141891

Files:
  llvm/include/llvm/CodeGen/ISDOpcodes.h
  llvm/include/llvm/IR/VPIntrinsics.def
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/test/CodeGen/RISCV/rvv/fold-vp-fadd-and-vp-fmul.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141891.494207.patch
Type: text/x-patch
Size: 22036 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230202/b1705a09/attachment.bin>


More information about the llvm-commits mailing list