[PATCH] D93229: [VectorCombine] allow peeking through GEPs when creating a vector load

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 16 13:29:33 PST 2020


spatel updated this revision to Diff 312292.
spatel added a comment.

Patch updated:
D93397 <https://reviews.llvm.org/D93397> / D93406 <https://reviews.llvm.org/D93406> improved the basic alignment logic, so that is adjusted here to include the effect of gep offset.
In the last test diff, note that the final alignment is not the same as either of the starting alignments.


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

https://reviews.llvm.org/D93229

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93229.312292.patch
Type: text/x-patch
Size: 9142 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201216/b0a7e1bd/attachment.bin>


More information about the llvm-commits mailing list