================
@@ -2129,6 +2316,25 @@ bool Compiler<Emitter>::visitInitList(ArrayRef<const 
Expr *> Inits,
     return true;
   }
 
+  if (const auto *MT = QT->getAs<ConstantMatrixType>()) {
+    unsigned NumElts = MT->getNumElementsFlattened();
----------------
tbaederr wrote:

```suggestion
    unsigned NumElems = MT->getNumElementsFlattened();
```

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

Reply via email to