summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorJonas Hahnfeld <hahnjo@hahnjo.de>2018-05-25 15:56:48 +0000
committerJonas Hahnfeld <hahnjo@hahnjo.de>2018-05-25 15:56:48 +0000
commit17aabf83e9ebbf2029af91331b0b0b8f28d63eab (patch)
tree15d9c38ae0e1fa8b5d0737b44fc7b8ce51a5bfa6 /clang/lib/Sema/SemaChecking.cpp
parent65e0b8784ce01f8f572581bb0c4abcbe37162844 (diff)
downloadbcm5719-llvm-17aabf83e9ebbf2029af91331b0b0b8f28d63eab.tar.gz
bcm5719-llvm-17aabf83e9ebbf2029af91331b0b0b8f28d63eab.zip
[libomptarget-nvptx] loop: Determine if runtime uninitialized
The generic entry points for static loop scheduling previously hardcoded that the runtime was initialized. This can be wrong if the compiler analyzes that the runtime is not needed and calls the init functions accordingly. This didn't affect clang-ykt because they have entry points for different combinations of SPMD x Runtime not needed. I didn't do measurements yet but with inlining we might get away with always calling the generic interface and letting compiler and runtime figure out the rest. In any case, a correct runtime is always better than having functions that may only be called if previous calls passed in a specific set of arguments! Differential Revision: https://reviews.llvm.org/D47131 llvm-svn: 333285
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud