diff options
| author | Shilei Tian <i@tianshilei.me> | 2022-07-22 13:46:31 -0400 |
|---|---|---|
| committer | Shilei Tian <i@tianshilei.me> | 2022-07-22 13:46:45 -0400 |
| commit | 602e0eb9f0c69db455185b5fbe6766ad2573f6e6 (patch) | |
| tree | 30883b2fb0bb17db9de2783546adfe2fc7a3108b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | a2035c566f5dd1508c16144f6439b62a049f7c8d (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
