[PATCH] D109148: [DAGCombiner][VP] Fold zero-length or false-masked VP ops
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 6 05:13:06 PDT 2021
frasercrmck updated this revision to Diff 370898.
frasercrmck added a comment.
Herald added a subscriber: dexonsmith.
- remove switch
- use binary-op and reduction helpers
- use MemSDNode to simplify load, store, etc.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109148/new/
https://reviews.llvm.org/D109148
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/fixed-vectors-vadd-vp.ll
llvm/test/CodeGen/RISCV/rvv/undef-vp-ops.ll
llvm/test/CodeGen/RISCV/rvv/vadd-vp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109148.370898.patch
Type: text/x-patch
Size: 34949 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210906/12dd4d96/attachment.bin>
More information about the llvm-commits
mailing list