[PATCH] D104784: [LAA] Make getPointersDiff() API compatible with opaque pointers (NFCI)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 23 07:43:35 PDT 2021


nikic updated this revision to Diff 353966.
nikic added a comment.

Add SLPVectorizer test with opaque pointers. The result is slightly suboptimal in that an unnecessary bitcast for the opaque pointer type is added, but I don't think we want to address that now.


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

https://reviews.llvm.org/D104784

Files:
  llvm/include/llvm/Analysis/LoopAccessAnalysis.h
  llvm/lib/Analysis/LoopAccessAnalysis.cpp
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/X86/opaque-ptr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104784.353966.patch
Type: text/x-patch
Size: 10692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210623/99b80270/attachment.bin>


More information about the llvm-commits mailing list