[PATCH] D99682: [SelectionDAG] Teach SelectionDAG::FoldConstantArithmetic to handle SPLAT_VECTOR

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 1 13:34:08 PDT 2021


craig.topper updated this revision to Diff 334816.
craig.topper added a comment.

Rebase

Will work on generating splat vectors for fixed vectors when possible next.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99682

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/test/CodeGen/AArch64/pr49781.ll
  llvm/test/CodeGen/RISCV/rvv/vadd-sdnode-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vadd-sdnode-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vmulh-sdnode-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vsub-sdnode-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vsub-sdnode-rv64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99682.334816.patch
Type: text/x-patch
Size: 10453 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210401/311a0c55/attachment.bin>


More information about the llvm-commits mailing list