diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-08-31 05:52:24 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-08-31 05:52:24 +0000 |
commit | 64c0ff414109082f14060f318794398e7bc65bde (patch) | |
tree | 7c713c5f25b06415160bdbd22b31da6f52b44af1 /clang-tools-extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp | |
parent | ce4c5c9849f4b3c5d882d1466b0790ea56eb5904 (diff) | |
download | llvm-64c0ff414109082f14060f318794398e7bc65bde.zip llvm-64c0ff414109082f14060f318794398e7bc65bde.tar.gz llvm-64c0ff414109082f14060f318794398e7bc65bde.tar.bz2 |
Add support for scalar dependences to OpenMP code generation
Scalar dependences between scop statements have caused troubles during parallel
code generation as we did not pass on the new stack allocation created for such
scalars to the parallel subfunctions. This change now detects all scalar
reads/writes in parallel subfunctions, creates the allocas for these scalar
objects, passes the resulting memory locations to the subfunctions and ensures
that within the subfunction requests for these memory locations will return the
rewritten values.
Johannes suggested as a future optimization to privatizing some of the scalars
in the subfunction.
llvm-svn: 246414
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp')
0 files changed, 0 insertions, 0 deletions