[Mlir-commits] [mlir] [mlir][IR] Fix bug in AffineExpr simplifier `lhs % rhs` where `lhs = lhs floordiv rhs` (PR #119245)

Kunwar Grover llvmlistbot at llvm.org
Wed Dec 11 16:16:12 PST 2024


================
@@ -129,3 +129,24 @@ TEST(AffineExprTest, d0PlusD0FloorDivNeg2) {
   auto sum = d0 + d0.floorDiv(-2) * 2;
   ASSERT_EQ(toString(sum), "d0 + (d0 floordiv -2) * 2");
 }
+
+TEST(AffineExprTEst, simpleAffineExprFlattenerRegression) {
----------------
Groverkss wrote:

AffineExprTEst -> AffineExprTest

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


More information about the Mlir-commits mailing list