Skip to content

Commit ff14ed4

Browse files
authored
fix vector in_bounds (#97)
1 parent e879f74 commit ff14ed4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mlir/extras/dialects/ext/vector.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ def transfer_read(
104104
padding = 0
105105
if isinstance(padding, int):
106106
padding = constant(padding, type=source.type.element_type)
107+
if in_bounds is None:
108+
in_bounds = [None] * len(permutation_map.results)
107109

108110
return _transfer_read(
109111
vector=vector_t,

0 commit comments

Comments
 (0)