[PATCH] D107883: [RISCV] Select vector mul by 2 to a vector add.
Jianjian Guan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 12 00:03:02 PDT 2021
jacquesguan updated this revision to Diff 365920.
jacquesguan added a comment.
Teach isKnownToBeAPowerOfTwo handle SPLAT_VECTOR.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107883/new/
https://reviews.llvm.org/D107883
Files:
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/test/CodeGen/RISCV/rvv/vmul-sdnode-rv32.ll
llvm/test/CodeGen/RISCV/rvv/vmul-sdnode-rv64.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107883.365920.patch
Type: text/x-patch
Size: 6459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210812/ac9072a4/attachment.bin>
More information about the llvm-commits
mailing list