================
@@ -4855,6 +4857,17 @@ LinkageInfo
LinkageComputer::computeTypeLinkageInfo(const Type *T) {
return computeTypeLinkageInfo(cast<HLSLAttributedResourceType>(T)
->getContainedType()
->getCanonicalTypeInternal());
+ case Type::HLSLInlineSpirv:
+ return LinkageInfo::external();
+ {
----------------
AaronBallman wrote:
In the interim, I think we should remove the code after the `return`. If the
current behavior is good enough for HLSL needs today, we can remove the dead
code and resurrect it later from version control if needed. WDYT?
https://github.com/llvm/llvm-project/pull/134034
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits