================
@@ -2216,7 +2216,7 @@ llvm::Value *CodeGenFunction::EmitToMemory(llvm::Value 
*Value, QualType Ty) {
   if (auto *AtomicTy = Ty->getAs<AtomicType>())
     Ty = AtomicTy->getValueType();
 
-  if (Ty->isExtVectorBoolType()) {
+  if (Ty->isExtVectorBoolType() || Ty->isConstantMatrixBoolType()) {
----------------
farzonl wrote:

Curious I thought there would be some kind of HLSL specific thing for the 
vector case?

Second C\C++ does not support boolean matrix types so this is correct as far as 
I can tell. However if they ever do or some other C dialect comes along that 
does and they want to treat bools as I1 will this code still be correct?

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

Reply via email to