summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/FileOutputBufferTest.cpp
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2013-06-11 22:20:40 +0000
committerSebastian Pop <spop@codeaurora.org>2013-06-11 22:20:40 +0000
commit9d63234ad1936f32e9495cd489f35b6b76a917c0 (patch)
tree79e92759095f5f727d61f6d41dd26909bd4c47d8 /llvm/unittests/Support/FileOutputBufferTest.cpp
parent15117271c7c8965c262ec76c0c49b12a4d06a848 (diff)
downloadbcm5719-llvm-9d63234ad1936f32e9495cd489f35b6b76a917c0.tar.gz
bcm5719-llvm-9d63234ad1936f32e9495cd489f35b6b76a917c0.zip
ScopDetect: check region entering edges are valid.
When a region header is part of a loop, then all entering edges of this region should not come from the loop but outside the region. Otherwise, the loop may be only partially part of the region, which would cause troubles in handling induction variables. Currently, we can only model induction variables that are either fully part of the scop (loop induction variable) or induction variables that are scop- invariant (parameter). A loop that is only partially part of the scop causes troubles, as there is no good way to handle the induction variable in the independent blocks pass. Contributed-by: Star Tan <tanmx_star@yeah.net> llvm-svn: 183800
Diffstat (limited to 'llvm/unittests/Support/FileOutputBufferTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud