diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-09-05 10:41:19 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-09-05 10:41:19 +0000 |
commit | 72b80672d9915ac114014c96e12350e45e8179ed (patch) | |
tree | 1cae87294d9a5f449864c0aef03768c2146ae751 /polly/lib/CodeGen | |
parent | 0d8874c0f6e1a57224ce3d67cfd88ac1d3d9ae51 (diff) | |
download | bcm5719-llvm-72b80672d9915ac114014c96e12350e45e8179ed.tar.gz bcm5719-llvm-72b80672d9915ac114014c96e12350e45e8179ed.zip |
OpenMP: Name the values passed to the subfunciton according to the original llvm::Values
llvm-svn: 246924
Diffstat (limited to 'polly/lib/CodeGen')
-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 f830ccb4ca2..beded43eee0 100644 --- a/polly/lib/CodeGen/LoopGenerators.cpp +++ b/polly/lib/CodeGen/LoopGenerators.cpp @@ -303,6 +303,7 @@ void ParallelLoopGenerator::extractValuesFromStruct( for (unsigned i = 0; i < OldValues.size(); i++) { Value *Address = Builder.CreateStructGEP(Ty, Struct, i); Value *NewValue = Builder.CreateLoad(Address); + NewValue->setName("polly.subfunc.arg." + OldValues[i]->getName()); Map[OldValues[i]] = NewValue; } } |