check_loc is not used if ITT is disabled or debug is off, causing a
compiler warning.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D143004  
[OpenMP] Guard the code if ITT is not used ClosedPublic Authored by tianshilei1992 on Jan 31 2023, 11:30 AM. 
Details Summary check_loc is not used if ITT is disabled or debug is off, causing a 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Feb 2 2023, 9:22 AM Closed by commit rG2d6adb366e8b: [OpenMP] Guard the code if ITT is not used (authored by tianshilei1992).  ·  Explain WhyFeb 2 2023, 7:54 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 494497 openmp/runtime/src/kmp_sched.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||