[Openmp-commits] [PATCH] D130179: [OpenMP][DeviceRTL] Fix the issue that multiple calls to `omp_get_wtime` is optimized out by mistake

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jul 20 08:04:42 PDT 2022

tianshilei1992 created this revision.
tianshilei1992 added a reviewer: jdoerfert.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
tianshilei1992 requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.

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.

  rG LLVM Github Monorepo



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130179.446162.patch
Type: text/x-patch
Size: 7907 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220720/ccfbdb22/attachment-0001.bin>

More information about the Openmp-commits mailing list