================
@@ -46,6 +46,17 @@ mlir::Type convertTypeForMemory(const mlir::TypeConverter 
&converter,
                                   dataLayout.getTypeSizeInBits(type));
   }
 
+  if (auto matrixTy = mlir::dyn_cast<cir::MatrixType>(type)) {
+    if (mlir::isa<cir::BoolType>(matrixTy.getElementType())) {
+      llvm_unreachable(
+          "convertTypeForMemory: Matrix with bool as element type");
+    }
----------------
AmrDeveloper wrote:

I added `cir::MissingFeatures::hlsl()` but the idea of `llvm_unreachable` is to 
act as NYI for matrix of bools 🤔 not only for hlsl target

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

Reply via email to