[Mlir-commits] [mlir] Draft: [mlir][tosa] Fix unranked tosa canonicalizations crashes (PR #188188)
Hocky Yudhiono
llvmlistbot at llvm.org
Tue Mar 24 20:12:30 PDT 2026
================
@@ -1515,7 +1534,7 @@ OpFoldResult GreaterEqualOp::fold(FoldAdaptor adaptor) {
auto rhsAttr =
llvm::dyn_cast_if_present<DenseElementsAttr>(adaptor.getInput2());
- if (!lhsAttr || !rhsAttr)
+ if (!resultTy || !lhsAttr || !rhsAttr)
----------------
hockyy wrote:
Moved to BinaryFolder.
https://github.com/llvm/llvm-project/pull/188188
More information about the Mlir-commits
mailing list