mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-13 17:37:00 +00:00

This change matches the CUDA/SPIRV behavior with CUDA/NVPTX, and makes some builtin types and __GCC_ATOMIC_XXX_LOCK_FREE macros the same between the host and device. This is only done when host triple is provided and known, otherwise the behavior is unchanged. Reviewed By: yaxunl Differential Revision: https://reviews.llvm.org/D144047