[PATCH] D130700: [AArch64][DAGCombine] Add pushSignExtendThroughExtractSubvector

Peter Waller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 28 04:24:19 PDT 2022


peterwaller-arm created this revision.
peterwaller-arm added reviewers: c-rhodes, DavidTruby, dtemirbulatov, paulwalker-arm.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
peterwaller-arm updated this revision to Diff 448296.
peterwaller-arm added a comment.
peterwaller-arm published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Remove commented code.


Eliminate a SIGN_EXTEND_INREG by reifying an anyext.

     (sign_extend_inreg (extract_subvector (anyext v) Idx))
  => (extract_subvector (sign_extend v) Idx)

Depends on D130699 <https://reviews.llvm.org/D130699>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130700

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-fixed-length-masked-gather.ll
  llvm/test/CodeGen/AArch64/sve-fixed-length-masked-loads.ll
  llvm/test/CodeGen/AArch64/sve-fixed-length-masked-scatter.ll
  llvm/test/CodeGen/AArch64/sve-fixed-length-masked-stores.ll
  llvm/test/CodeGen/AArch64/vector-fcvt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130700.448296.patch
Type: text/x-patch
Size: 11073 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220728/d3844a2a/attachment.bin>


More information about the llvm-commits mailing list