This is an archive of the discontinued LLVM Phabricator instance.

[ASAN] Emit AMDGPU intrinsics only for target triple AMDGPU
Needs ReviewPublic

Authored by pvellien on Jul 27 2022, 10:50 PM.

Details

Summary

The functions @llvm.amdgcn.is.private and @llvm.amdgcn.is.shared is emitted for all module which are instrumented regardless of target triple. This patch attempts to fix that behavior by emitting them only for AMDGPU target.

Diff Detail

Event Timeline

pvellien created this revision.Jul 27 2022, 10:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2022, 10:50 PM
pvellien requested review of this revision.Jul 27 2022, 10:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2022, 10:50 PM
pvellien retitled this revision from Emit AMDGPU intrinsics only for target triple AMDGPU to [ASAN] Emit AMDGPU intrinsics only for target triple AMDGPU.Jul 27 2022, 10:50 PM
pvellien updated this revision to Diff 449189.Aug 1 2022, 11:09 PM

Retry build.