[PATCH] D144744: [IR][Legalization] Split illegal deinterleave and interleave vectors

Caroline via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 24 09:20:43 PST 2023


CarolineConcatto created this revision.
Herald added subscribers: ecnelises, hiraditya.
Herald added a project: All.
CarolineConcatto requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

To make legalization easier, the operands and outputs have the same size for
these ISD Nodes. When legalizing the results in SplitVectorResult the operands
are legalized to the same size as the outputs.
The ISD Node has two output/results, therefore the legalizing functions update
both results/outputs.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144744

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
  llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  llvm/test/CodeGen/AArch64/sve-vector-deinterleave.ll
  llvm/test/CodeGen/AArch64/sve-vector-interleave.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144744.500236.patch
Type: text/x-patch
Size: 9085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230224/e1197d58/attachment.bin>


More information about the llvm-commits mailing list