[Mlir-commits] [mlir] [MLIR][Presburger] Template Matrix to allow MPInt and Fraction (PR #65272)

Arjun P llvmlistbot at llvm.org
Mon Sep 18 08:12:14 PDT 2023


================
@@ -32,7 +34,10 @@ namespace presburger {
 /// (i, j) is stored at data[i*nReservedColumns + j]. The reserved but unused
 /// columns always have all zero values. The reserved rows are just reserved
 /// space in the underlying SmallVector's capacity.
+template<typename T>
 class Matrix {
+  // This class is not intended for general use: it supports only integers and rational numbers.
----------------
Superty wrote:

Can you move this comment two lines up above the template<typename

https://github.com/llvm/llvm-project/pull/65272


More information about the Mlir-commits mailing list