[Mlir-commits] [mlir] 4a6ed4a - [mlir][python] fix affine test

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Dec 7 14:22:03 PST 2023


Author: max
Date: 2023-12-07T16:21:57-06:00
New Revision: 4a6ed4a90d6cddbbe3d25132780a72b50a457c41

URL: https://github.com/llvm/llvm-project/commit/4a6ed4a90d6cddbbe3d25132780a72b50a457c41
DIFF: https://github.com/llvm/llvm-project/commit/4a6ed4a90d6cddbbe3d25132780a72b50a457c41.diff

LOG: [mlir][python] fix affine test

Added: 
    

Modified: 
    mlir/test/python/dialects/affine.py

Removed: 
    


################################################################################
diff  --git a/mlir/test/python/dialects/affine.py b/mlir/test/python/dialects/affine.py
index 07b1722f124024..6f39e1348fcd57 100644
--- a/mlir/test/python/dialects/affine.py
+++ b/mlir/test/python/dialects/affine.py
@@ -159,9 +159,7 @@ def testAffineForOpErrors():
         )
 
     try:
-        two_indices = affine.AffineDelinearizeIndexOp(
-            [T.index(), T.index()], c1, [c1, c1]
-        )
+        two_indices = affine.AffineDelinearizeIndexOp(c1, [c1, c1])
         affine.AffineForOp(
             two_indices,
             c2,


        


More information about the Mlir-commits mailing list