[PATCH] D73995: [NFC] [DA] Refactoring getIndexExpressionsFromGEP

Bardia Mahjour via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 14:32:49 PST 2020


bmahjour created this revision.
bmahjour added reviewers: sebpop, fhahn, Meinersbur, dmgreen, grosser, etiotto.
bmahjour added projects: LLVM, Polly.
Herald added a reviewer: bollu.
Herald added subscribers: arphaman, hiraditya.
bmahjour added a parent revision: D72178: [DA] Delinearization of fixed-size multi-dimensional arrays.

This patch moves the `getIndexExpressionsFromGEP` function from polly into ScalarEvolution so that both polly and DependenceAnalysis can use it for the purpose of subscript delinearization when the array sizes are not parametric.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73995

Files:
  llvm/include/llvm/Analysis/ScalarEvolution.h
  llvm/lib/Analysis/DependenceAnalysis.cpp
  llvm/lib/Analysis/ScalarEvolution.cpp
  polly/include/polly/Support/ScopHelper.h
  polly/lib/Analysis/ScopBuilder.cpp
  polly/lib/Support/ScopHelper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73995.242430.patch
Type: text/x-patch
Size: 8878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200204/99cc2ac6/attachment.bin>


More information about the llvm-commits mailing list