[PATCH] D104761: [POC] SCEV w/o pointer subtraction

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 22 20:07:27 PDT 2021


reames created this revision.
Herald added subscribers: javed.absar, bollu, hiraditya, mcrosier.
reames requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This isn't a real patch, it's simply a POC of what SCEV without pointer subtraction might look like.  This is triggered by discussion on D104498 <https://reviews.llvm.org/D104498>.

This "mostly doesn't crash", but has huge perf impact.  Running make check shows the impact of not being able to query the difference between two pointers.


https://reviews.llvm.org/D104761

Files:
  llvm/lib/Analysis/Delinearization.cpp
  llvm/lib/Analysis/LoopAccessAnalysis.cpp
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/lib/Transforms/Scalar/LoopRerollPass.cpp
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104761.353843.patch
Type: text/x-patch
Size: 4627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210623/af6331ac/attachment.bin>


More information about the llvm-commits mailing list