fail delinearization when the size of subscripts differs
authorSebastian Pop <spop@codeaurora.org>
Fri, 21 Feb 2014 18:15:07 +0000 (18:15 +0000)
committerSebastian Pop <spop@codeaurora.org>
Fri, 21 Feb 2014 18:15:07 +0000 (18:15 +0000)
commitfc605ac12cd2035f6d096b53cbb2033e24bdc092
tree1eb9ce8661f7ebfdb2b5c71601a361fa48626f24
parent12681353c61e7079df93bb4205641d66ef5a5454
fail delinearization when the size of subscripts differs

Because the delinearization is not a global analysis pass, it will compute the
delinearization independently of knowledge about the way the delinearization
happened for other data accesses to the same array: the dependence analysis will
only trigger the delinearization on a tuple of access functions, and thus
delinearization may compute different subscripts sizes for a same array.  When
that happens the safest is to discard the delinearized information.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201866 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/DependenceAnalysis.cpp