[PATCH] D109394: [RISCV] Enable CGP to sink splat operands of Add/Sub/Mul.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 8 10:54:25 PDT 2021


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

Use PatternMatch.
Base the implementation on ARM instead of AArch64. This should give better options for future additions.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109394

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109394.371394.patch
Type: text/x-patch
Size: 14363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210908/ca07beeb/attachment.bin>


More information about the llvm-commits mailing list