summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/LoopGenerators.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-09-28 16:46:38 +0000
committerTobias Grosser <tobias@grosser.es>2015-09-28 16:46:38 +0000
commit95e59aaa54a121aa31d7499c856f09df04c969d2 (patch)
tree04868d668b36852063226d22e2624d71441eb731 /polly/lib/CodeGen/LoopGenerators.cpp
parent05a17aa82ae9285f60c8aa4e0d8c2974c89d25cb (diff)
downloadbcm5719-llvm-95e59aaa54a121aa31d7499c856f09df04c969d2.tar.gz
bcm5719-llvm-95e59aaa54a121aa31d7499c856f09df04c969d2.zip
OpenMP: Name addresses in subfunction structure
While debugging, this makes it easier to understand due to which memory reference these stores have been introduced. llvm-svn: 248717
Diffstat (limited to 'polly/lib/CodeGen/LoopGenerators.cpp')
-rw-r--r--polly/lib/CodeGen/LoopGenerators.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/polly/lib/CodeGen/LoopGenerators.cpp b/polly/lib/CodeGen/LoopGenerators.cpp
index 16964b32d0c..4cc7a6c3f9e 100644
--- a/polly/lib/CodeGen/LoopGenerators.cpp
+++ b/polly/lib/CodeGen/LoopGenerators.cpp
@@ -297,6 +297,7 @@ ParallelLoopGenerator::storeValuesIntoStruct(SetVector<Value *> &Values) {
for (unsigned i = 0; i < Values.size(); i++) {
Value *Address = Builder.CreateStructGEP(Ty, Struct, i);
+ Address->setName("polly.subfn.storeaddr." + Values[i]->getName());
Builder.CreateStore(Values[i], Address);
}
OpenPOWER on IntegriCloud