summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/CPP
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-10-17 08:54:13 +0000
committerTobias Grosser <tobias@grosser.es>2015-10-17 08:54:13 +0000
commitffa2446f28d22115e615f1f6609ac525f1472fa3 (patch)
tree0023edc779ad2f21fe2726d6a4234afd80529906 /llvm/test/CodeGen/CPP
parent3839b422e6a0f4057b4ae509faa063390724700f (diff)
downloadbcm5719-llvm-ffa2446f28d22115e615f1f6609ac525f1472fa3.tar.gz
bcm5719-llvm-ffa2446f28d22115e615f1f6609ac525f1472fa3.zip
BlockGenerator: Register outside users of scalars directly
Instead of checking at code generation time for each ScopStmt if a scalar has external uses, we just iterate over the ScopArrayInfo descriptions we have and check each of these for possible external uses. Besides being somehow clearer, this approach has the benefit that we will always create valid LLVM-IR even in case we disable the code generation of ScopStmt bodies e.g. for testing purposes. llvm-svn: 250608
Diffstat (limited to 'llvm/test/CodeGen/CPP')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud