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

Hocky Yudhiono llvmlistbot at llvm.org
Tue Mar 24 20:12:32 PDT 2026


================
@@ -1538,7 +1557,7 @@ OpFoldResult EqualOp::fold(FoldAdaptor adaptor) {
     return DenseElementsAttr::get(resultTy, true);
   }
 
-  if (!lhsAttr || !rhsAttr)
+  if (!resultTy || !lhsAttr || !rhsAttr)
----------------
hockyy wrote:

Moved to BinaryFolder, wdyt?

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


More information about the Mlir-commits mailing list