This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][AMDGPU] Get rid of redundant macro def
ClosedPublic

Authored by tianshilei1992 on Jan 18 2023, 3:54 PM.

Details

Summary

The next gen plugin adds the def of DEBUG_PREFIX in CMake, causing
compiler warning that DEBUG_PREFIX is defined multiple times. This patch simply
guards the macro def.

Diff Detail

Event Timeline

tianshilei1992 created this revision.Jan 18 2023, 3:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 18 2023, 3:54 PM
tianshilei1992 requested review of this revision.Jan 18 2023, 3:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 18 2023, 3:54 PM
jdoerfert accepted this revision.Jan 18 2023, 3:58 PM
This revision is now accepted and ready to land.Jan 18 2023, 3:58 PM
This revision was automatically updated to reflect the committed changes.