Skip to content

Commit bd6306d

Browse files
committed
[fix] Python Bindings LIT
- Fix Python Bindings LIT based on upstream update - Reference: llvm/llvm-project#116103
1 parent ec16b79 commit bd6306d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/python/dialects/affine.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def testAffineDelinearizeInfer():
5050
# CHECK: %[[C1:.*]] = arith.constant 1 : index
5151
c1 = arith.ConstantOp(T.index(), 1)
5252
# CHECK: %{{.*}}:2 = affine.delinearize_index %[[C1:.*]] into (2, 3) : index, index
53-
two_indices = affine.AffineDelinearizeIndexOp(c1, [], [2, 3])
53+
two_indices = affine.AffineDelinearizeIndexOp([T.index()] * 2, c1, [], [2, 3])
5454

5555

5656
# CHECK-LABEL: TEST: testAffineLoadOp
@@ -157,7 +157,7 @@ def testAffineForOpErrors():
157157
)
158158

159159
try:
160-
two_indices = affine.AffineDelinearizeIndexOp(c1, [], [1, 1])
160+
two_indices = affine.AffineDelinearizeIndexOp([T.index()] * 2, c1, [], [1, 1])
161161
affine.AffineForOp(
162162
two_indices,
163163
c2,
@@ -263,4 +263,3 @@ def range_loop_8(lb, ub, memref_v):
263263
add = arith.addi(i, i)
264264
memref.store(add, it, [i])
265265
affine.yield_([it])
266-

0 commit comments

Comments
 (0)