summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2014-02-21 18:15:11 +0000
committerSebastian Pop <spop@codeaurora.org>2014-02-21 18:15:11 +0000
commit29026d3e5291d4da94dabfae2eec69694cfcc1d2 (patch)
treecc405e9963eac3d008e0294f9528fb3098e2a74d /lldb/source/Interpreter/ScriptInterpreterPython.cpp
parent5133d2e9d4611d6d2d476aee14031f05e17557d1 (diff)
downloadbcm5719-llvm-29026d3e5291d4da94dabfae2eec69694cfcc1d2.tar.gz
bcm5719-llvm-29026d3e5291d4da94dabfae2eec69694cfcc1d2.zip
normalize the last delinearized dimension
in the dependence test, we used to discard some information that the delinearization provides: the size of the innermost dimension of an array, i.e., the size of scalars stored in the array, and the remainder of the delinearization that provides the offset from which the array reads start, i.e., the base address of the array. To avoid losing this data in the rest of the data dependence analysis, the fix is to multiply the access function in the last delinearized dimension by its size, effectively making the size of the last dimension to always be in bytes, and then add the remainder of delinearization to the last subscript, effectively making the last subscript start at the base address of the array. llvm-svn: 201867
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud