summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/IslCodeGeneration.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-03-30 17:22:28 +0000
committerTobias Grosser <tobias@grosser.es>2015-03-30 17:22:28 +0000
commit619190d5a7b7238775d35dabf7b4d16d742ad310 (patch)
treebd9dc6835cf42cf2748d2ebd577f6be5cf6e03e7 /polly/lib/CodeGen/IslCodeGeneration.cpp
parentf9b4775c78b806647b4db18b36719463dee3bafc (diff)
downloadbcm5719-llvm-619190d5a7b7238775d35dabf7b4d16d742ad310.tar.gz
bcm5719-llvm-619190d5a7b7238775d35dabf7b4d16d742ad310.zip
Delinearization of expressions that contain array size parameters
This allows us to delinerize code such as: A[][n] for (i for (j A[i][n-j-1] = ... which would previously have been delinearize to an access A[i+1][-j-1]. To recover the correct access we apply the piecewise expression: { A[i][j] -> A[i-1][i+N]: i < 0; A[i][j] -> A[i][i]: i >= 0} This approach generalizes to higher dimensions. llvm-svn: 233566
Diffstat (limited to 'polly/lib/CodeGen/IslCodeGeneration.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud