[PATCH] D137341: [VectorCombine] widen a load with subvector insert

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 6 08:55:36 PST 2022


spatel updated this revision to Diff 473502.
spatel marked an inline comment as done.
spatel added a comment.

Patch updated:
There are no guarantees on what shuffles the other vectorizer passes can produce, and we don't know that instcombine is run before this pass, so added code/test to handle a non-canonical identity shuffle that is choosing from operand 1 of the shuffle.


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

https://reviews.llvm.org/D137341

Files:
  llvm/lib/Transforms/Vectorize/VectorCombine.cpp
  llvm/test/Transforms/VectorCombine/X86/load-widening.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137341.473502.patch
Type: text/x-patch
Size: 10233 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221106/4db3be18/attachment.bin>


More information about the llvm-commits mailing list