This is an archive of the discontinued LLVM Phabricator instance.

Refactor sanitizer options handling for AMDGPU Toolchain
ClosedPublic

Authored by ampandey-AMD on Mar 30 2022, 7:51 PM.

Diff Detail

Event Timeline

ampandey-AMD created this revision.Mar 30 2022, 7:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2022, 7:51 PM
ampandey-AMD requested review of this revision.Mar 30 2022, 7:51 PM
Herald added a project: Restricted Project. · View Herald Transcript

This patch aims to conform AMDGPUOpenMP driver sanitizer changes w.r.t HIPAMD toolchain.

This patch aims to conform AMDGPUOpenMP driver sanitizer changes w.r.t HIPAMD toolchain.

yaxunl accepted this revision.Mar 31 2022, 8:06 AM

LGTM. Thanks.

This revision is now accepted and ready to land.Mar 31 2022, 8:06 AM

Is the OpenMP lit test missing?

Yes, it is missing here because there is some part of the code in AMDGPUOpenMP.cpp on which openmp sanitize lit test case is dependent and that part of code is dependent on Greg's DLR patch. I will upstream the missing source code and lit test case afterwards when the Greg's DLR patch will get upstreamed and land.

Commit name and message should be revisited.

ampandey-AMD added a reviewer: ronlieb.

This patch can be retitled as "Refactor sanitizer options handling for AMDGPU Toolchain".

Updated the title

ampandey-AMD retitled this revision from This patch aims to conform AMDGPUOpenMP driver sanitizer changes w.r.t HIPAMD toolchain. to Refactor sanitizer options handling for AMDGPU Toolchain.Mar 31 2022, 9:10 PM
yaxunl accepted this revision.Apr 1 2022, 7:16 AM

LGTM. Thanks.

LGTM. Thanks.

Hi @yaxunl , I don't have commit access to llvm trunk. Could you please commit on my behalf?

i pushed it in. will watch for build bot issues