[Mlir-commits] [mlir] [mlir][affine] remove divide zero check when simplifer affineMap (#64622) (PR #68519)

Matthias Springer llvmlistbot at llvm.org
Sun Oct 15 19:30:59 PDT 2023


================
@@ -1326,14 +1334,13 @@ void SimpleAffineExprFlattener::visitDivExpr(AffineBinaryOpExpr expr,
                                              localExprs, context);
----------------
matthias-springer wrote:

Can we also go into this branch if `getRHS` is a constant expr that is `0`?

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


More information about the Mlir-commits mailing list