Skip to content

Commit c6d16e3

Browse files
authored
fix memref.global get_sym_name (#75)
1 parent b143359 commit c6d16e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/extras/dialects/ext/memref.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def global_(
289289
if sym_name is None:
290290
previous_frame = inspect.currentframe().f_back
291291
sym_name = _get_sym_name(
292-
previous_frame, check_func_call="memref\.global_|global_"
292+
previous_frame, check_func_call="memref\\.global_|global_"
293293
)
294294
if loc is None:
295295
loc = get_user_code_loc()

0 commit comments

Comments
 (0)