[PATCH] D98273: [SelectionDAG] Improve scalarization of irregular vector types

LemonBoy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 9 10:56:13 PST 2021


LemonBoy created this revision.
LemonBoy added reviewers: atanasyan, craig.topper.
Herald added subscribers: ecnelises, jrtc27, hiraditya, sdardis.
LemonBoy requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Use a more general strategy when splitting a vector into scalar parts (and vice-versa) to correctly handle vector types whose element size is not a power of 2 (and a multiple of 8).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98273

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/test/CodeGen/Mips/cconv/vector.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98273.329392.patch
Type: text/x-patch
Size: 38597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210309/1aafeff7/attachment-0001.bin>


More information about the llvm-commits mailing list