[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:06:50 PDT 2021


nikic created this revision.
nikic added reviewers: ABataev, lebedev.ri, opaque-pointers.
Herald added subscribers: dexonsmith, mgrang, hiraditya.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Make getPointersDiff() and sortPtrAccesses() compatible with opaque pointers by explicitly passing in the element type instead of determining it from the pointer element type.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104784

Files:
  llvm/include/llvm/Analysis/LoopAccessAnalysis.h
  llvm/lib/Analysis/LoopAccessAnalysis.cpp
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

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


More information about the llvm-commits mailing list