================
@@ -1813,6 +1986,20 @@ bool Compiler<Emitter>::VisitImplicitValueInitExpr(
return true;
}
+ if (const auto *MT = E->getType()->getAs<ConstantMatrixType>()) {
+ unsigned NumElts = MT->getNumElementsFlattened();
+ QualType ElemQT = MT->getElementType();
+ PrimType ElemT = classifyPrim(ElemQT);
+
+ for (unsigned I = 0; I < NumElts; ++I) {
----------------
tbaederr wrote:
```suggestion
for (unsigned I = 0; I != NumElts; ++I) {
```
https://github.com/llvm/llvm-project/pull/183424
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits