[PATCH] D122734: [HIP] Fix mangling number for local struct
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 6 21:09:38 PDT 2022
yaxunl added a comment.
This patch takes a similar approach as https://reviews.llvm.org/D69322 has done for lambda. When doing host compilation for CUDA/HIP on Windows with MSVC toolchain, mangling number of lambda always uses Itanium mangling number. In this case, mangling number of local struct types always uses Itanium mangling number. I assume this should be fine as long as it is consistent for all HIP programs.
CHANGES SINCE LAST ACTION
More information about the cfe-commits