diff options
| author | Shilei Tian <i@tianshilei.me> | 2022-07-22 11:43:23 -0400 |
|---|---|---|
| committer | Shilei Tian <i@tianshilei.me> | 2022-07-22 11:43:30 -0400 |
| commit | ad34f1dba80efb62f5181e30b039a017fd5d164e (patch) | |
| tree | 66bc7f29144c9656d0d1214f5568d7b99456b824 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | be208b40c1cd38848dd65778db353c6cc448877c (diff) | |
[OpenMP][DeviceRTL] Fix the issue that multiple calls to `omp_get_wtime` is optimized out by mistake
Multiple calls to `omp_get_wtime` could be optimized out due to the function
is mistakenly marked as `readnone`. This patch fixes the issue, and also add the
support to run optimization on `libomptarget` tests.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D130179
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
