[Mlir-commits] [mlir] [mlir][tosa] Fix unranked tosa canonicalizations crashes (PR #188188)

Sayan Saha llvmlistbot at llvm.org
Tue Mar 24 05:39:11 PDT 2026


================
@@ -31,6 +31,21 @@
 using namespace mlir;
 using namespace mlir::tosa;
 
+namespace {
+template <typename OpTy>
+static ShapedType getStaticResultShapeForDenseFold(OpTy op) {
----------------
sahas3 wrote:

`static` is not needed within anonymous namespace

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


More information about the Mlir-commits mailing list