================
@@ -6463,6 +6463,9 @@ static bool isZeroInitialized(QualType T, const APValue 
&V) {
     return true;
   }
 
+  case APValue::Matrix:
+    llvm_unreachable("Matrix APValues not yet supported");
----------------
Icohedron wrote:

The function `isZeroInitialized` is only reachable from a call to 
`mangleValueInTemplateArg` which is only called in the context of non-type 
template arguments (NTTP). HLSL does not support NTTPs which is a C++20 feature.

https://github.com/llvm/llvm-project/pull/178762
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to