[clang] [llvm] [DirectX] Add DirectXTargetCodeGenInfo (PR #104856)
Damyan Pepper via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 6 11:55:43 PDT 2024
================
@@ -879,6 +879,10 @@ static TargetTypeInfo getTargetTypeInfo(const TargetExtType *Ty) {
ScalableVectorType::get(Type::getInt8Ty(C), TotalNumElts));
}
+ // DirectX intangible types
+ if (Name.starts_with("dx."))
----------------
damyanp wrote:
I'm surprised that we do a name lookup here, rather than key off some attributes, but I also see that this is how it is done for some spirv and riscv types.
Are we definitely ok with burning all the `dx.` prefixed names for this?
https://github.com/llvm/llvm-project/pull/104856
More information about the cfe-commits
mailing list