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
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
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