summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DependenceAnalysis.cpp
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2014-05-09 22:45:07 +0000
committerSebastian Pop <spop@codeaurora.org>2014-05-09 22:45:07 +0000
commit47fe7de1b517161d1c162ead1ec6e1143dd99372 (patch)
tree5cf80971f8edda453ab14ef46e7b238a6e1333a0 /llvm/lib/Analysis/DependenceAnalysis.cpp
parent444621abe1951358fc5051b28e31bb2efdf5d61f (diff)
downloadbcm5719-llvm-47fe7de1b517161d1c162ead1ec6e1143dd99372.tar.gz
bcm5719-llvm-47fe7de1b517161d1c162ead1ec6e1143dd99372.zip
move findArrayDimensions to ScalarEvolution
we do not use the information from SCEVAddRecExpr to compute the shape of the array, so a better place for this function is in ScalarEvolution. llvm-svn: 208456
Diffstat (limited to 'llvm/lib/Analysis/DependenceAnalysis.cpp')
-rw-r--r--llvm/lib/Analysis/DependenceAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DependenceAnalysis.cpp b/llvm/lib/Analysis/DependenceAnalysis.cpp
index 96acda3f45c..57231b8325a 100644
--- a/llvm/lib/Analysis/DependenceAnalysis.cpp
+++ b/llvm/lib/Analysis/DependenceAnalysis.cpp
@@ -3195,7 +3195,7 @@ DependenceAnalysis::tryDelinearize(const SCEV *SrcSCEV, const SCEV *DstSCEV,
// Second step: find subscript sizes.
SmallVector<const SCEV *, 4> Sizes;
- SrcAR->findArrayDimensions(*SE, Terms, Sizes);
+ SE->findArrayDimensions(Terms, Sizes);
// Third step: compute the access functions for each subscript.
SmallVector<const SCEV *, 4> SrcSubscripts, DstSubscripts;
OpenPOWER on IntegriCloud