diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-09-28 16:46:38 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-09-28 16:46:38 +0000 |
commit | 95e59aaa54a121aa31d7499c856f09df04c969d2 (patch) | |
tree | 04868d668b36852063226d22e2624d71441eb731 /polly/lib/CodeGen/LoopGenerators.cpp | |
parent | 05a17aa82ae9285f60c8aa4e0d8c2974c89d25cb (diff) | |
download | bcm5719-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.cpp | 1 |
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); } |