This is an archive of the discontinued LLVM Phabricator instance.

[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
compiler warning.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptJan 31 2023, 11:30 AM
tianshilei1992 requested review of this revision.Jan 31 2023, 11:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 31 2023, 11:30 AM
jlpeyton accepted this revision.Feb 2 2023, 9:22 AM

LGTM

This revision is now accepted and ready to land.Feb 2 2023, 9:22 AM
This revision was automatically updated to reflect the committed changes.