summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveRegMatrix.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2014-01-28 12:58:58 +0000
committerTobias Grosser <tobias@grosser.es>2014-01-28 12:58:58 +0000
commit458fb78cfa57cddb1410c58376421807b4e64b81 (patch)
tree7f5063e804314cdeb3c75990144dfe43f9bb05bd /llvm/lib/CodeGen/LiveRegMatrix.cpp
parentb6d39afbda42979fbfd171044500ab8076373a7f (diff)
downloadbcm5719-llvm-458fb78cfa57cddb1410c58376421807b4e64b81.tar.gz
bcm5719-llvm-458fb78cfa57cddb1410c58376421807b4e64b81.zip
Check if array base addresses are invariant
Array base addresses need to be invariant in the region considered. The base address has to be computed outside the region, or, when it is computed inside, the value must not change with the iterations of the loops. For example, when a two-dimensional array is represented as a pointer to pointers the base address A[i] in an access A[i][j] changes with i; therefore, such regions have to be rejected. Contributed by: Armin Größlinger <armin.groesslinger@uni-passau.de> llvm-svn: 200314
Diffstat (limited to 'llvm/lib/CodeGen/LiveRegMatrix.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud