[PATCH] D118920: [DAGCombiner] Fold `ty1 extract_vector(ty2 splat(V)) -> ty1 splat(V)`

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 5 06:03:04 PST 2022


sdesmalen updated this revision to Diff 406177.
sdesmalen added a comment.

Removed condition that result/input vector must match scalable property.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118920

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AArch64/sve-extract-fixed-vector.ll
  llvm/test/CodeGen/AArch64/sve-extract-scalable-vector.ll
  llvm/test/CodeGen/AArch64/sve-insert-vector.ll
  llvm/test/CodeGen/AArch64/sve-st1-addressing-mode-reg-imm.ll
  llvm/test/CodeGen/RISCV/rvv/vadd-vp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118920.406177.patch
Type: text/x-patch
Size: 10486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220205/ac6039ae/attachment.bin>


More information about the llvm-commits mailing list