Clang is currently not able to build tests in Kokkos with hip backend and it is due to the type comparison in clang::CodeGen::CodeGenModule::EmitGlobalVarDefinition (https://reviews.llvm.org/D123649).
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/CodeGen/CodeGenModule.cpp | ||
---|---|---|
4654 | I only added the LangOpts that I'm familiar with but I believe there's more to add to the list. |
Comment Actions
This doesn't make sense to me. If clang and LLVM disagree about the layout of a type, you are going to run into trouble. If you haven't yet, it's a matter of time.
Looking at AMDGPUTargetInfo::setAuxTarget, maybe LongDoubleFormat is somehow inconsistent with LongDoubleWidth/LongDoubleAlign?
I only added the LangOpts that I'm familiar with but I believe there's more to add to the list.