diff options
author | Thomas Köppe <tkoeppe@google.com> | 2024-03-26 00:30:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-25 17:30:49 -0700 |
commit | c48aa781a31c76b27cadcd1b78022393c450824b (patch) | |
tree | 99a1e2b295757d9c6096cc212d91f9aebaa05fc7 /mlir/include | |
parent | 366592b4eb54d807ebecee122b7dd06031c5f4f9 (diff) | |
download | llvm-c48aa781a31c76b27cadcd1b78022393c450824b.zip llvm-c48aa781a31c76b27cadcd1b78022393c450824b.tar.gz llvm-c48aa781a31c76b27cadcd1b78022393c450824b.tar.bz2 |
Add missing declarations of explicit template instantiations. (#86591)
Found with `-Wundefined-func-template`.
Diffstat (limited to 'mlir/include')
-rw-r--r-- | mlir/include/mlir/Analysis/Presburger/Matrix.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mlir/include/mlir/Analysis/Presburger/Matrix.h b/mlir/include/mlir/Analysis/Presburger/Matrix.h index 4484ebc..c20a7bc 100644 --- a/mlir/include/mlir/Analysis/Presburger/Matrix.h +++ b/mlir/include/mlir/Analysis/Presburger/Matrix.h @@ -244,6 +244,9 @@ protected: SmallVector<T, 16> data; }; +extern template class Matrix<MPInt>; +extern template class Matrix<Fraction>; + // An inherited class for integer matrices, with no new data attributes. // This is only used for the matrix-related methods which apply only // to integers (hermite normal form computation and row normalisation). |