[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
Thu Dec 17 10:56:38 PST 2020


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

Patch updated:

1. Added constraints on address offset with respect to vector element size.
2. Added negative tests for those.
3. Added asserts to make sure address assumptions are valid.
4. Added code comment about offset math (negation) logic.


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.312561.patch
Type: text/x-patch
Size: 11614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201217/212de5eb/attachment-0001.bin>


More information about the llvm-commits mailing list