Fixed task bookkeeping for serialized detached tasks.
Not sure how to properly request the OpenMP 5.0 option for the test; hardcoded the -fopenmp-version=50 option for now. If somebody knows a better way, please advise.
Differential D79944
[OpenMP] Fix for https://bugs.llvm.org/show_bug.cgi?id=45904. AndreyChurbanov on May 14 2020, 8:10 AM. Authored by
Details Fixed task bookkeeping for serialized detached tasks. Not sure how to properly request the OpenMP 5.0 option for the test; hardcoded the -fopenmp-version=50 option for now. If somebody knows a better way, please advise.
Diff Detail Event TimelineComment Actions LGTM, one comment.
Comment Actions Does -fopenmp-version work with the Intel Compiler? How will this work if the GCC eventually gets support for OpenMP 5.0? Comment Actions Thanks for comment. I added Intel legacy compiler icc to the list of unsupported compilers as it supports neither detach clause nor -fopenmp-version option; and listed particular gcc versions, so that next version could be tested if they will implement the support of detach clause. Comment Actions Can FileCheck deal with tests, which potentially deadlock/stall? This was the initial behavior of the test provided in the issue. Comment Actions I guess my question was: can lit and the build bots deal with such deadlock? Do they employ timeouts? Comment Actions The bots deal with this as we accidentally run into endless loops in the compiler more often than one would think ;) I guess lit itself will just hang, maybe there is a timeout option builtin or you can manually wrap it in a timeout script if you need to. |
Update the comment please.