[all-commits] [llvm/llvm-project] 2d6adb: [OpenMP] Guard the code if ITT is not used
Shilei Tian via All-commits
all-commits at lists.llvm.org
Thu Feb 2 19:54:46 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2d6adb366e8b97988c0b105d4cf61c233ee95c12
https://github.com/llvm/llvm-project/commit/2d6adb366e8b97988c0b105d4cf61c233ee95c12
Author: Shilei Tian <i at tianshilei.me>
Date: 2023-02-02 (Thu, 02 Feb 2023)
Changed paths:
M openmp/runtime/src/kmp_sched.cpp
Log Message:
-----------
[OpenMP] Guard the code if ITT is not used
`check_loc` is not used if ITT is disabled or debug is off, causing a
compiler warning.
Reviewed By: jlpeyton
Differential Revision: https://reviews.llvm.org/D143004
More information about the All-commits
mailing list