remove BasePointer before delinearizing
authorSebastian Pop <spop@codeaurora.org>
Tue, 27 May 2014 22:41:51 +0000 (22:41 +0000)
committerSebastian Pop <spop@codeaurora.org>
Tue, 27 May 2014 22:41:51 +0000 (22:41 +0000)
commit79facc9e2921ee9d18d1adc94d1d03562775f431
treef3c6018054f8bfc3b505a59f22a5c9359c41b011
parent421b2c571cfbd4cad3a6b7834792ae45c87d9c64
remove BasePointer before delinearizing

No functional change is intended: instead of relying on the delinearization to
come up with the base pointer as a remainder of the divisions in the
delinearization, we just compute it from the array access and use that value.
We substract the base pointer from the SCEV to be delinearized and that
simplifies the work of the delinearizer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209692 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolutionExpressions.h
lib/Analysis/Delinearization.cpp
lib/Analysis/DependenceAnalysis.cpp
lib/Analysis/ScalarEvolution.cpp