File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ def append_new_carried_var(init_var: Var):
300300 body_token_map [last_store_key ], result_token_map [last_store_key ] = \
301301 append_new_carried_var (token_map [last_store_key ])
302302 else :
303- raise ValueError (f"Unsupported memory effect: { effect } " )
303+ raise TileInternalError (f"Unexpected memory effect: { effect } " )
304304
305305 if body_mem_effects .has_acquire_order :
306306 body_token_map [ACQUIRE_TOKEN_KEY ], result_token_map [ACQUIRE_TOKEN_KEY ] = \
@@ -360,7 +360,7 @@ def add_new_ifelse_result():
360360 result_token_map [last_op_key ] = add_new_ifelse_result ()
361361 result_token_map [last_store_key ] = add_new_ifelse_result ()
362362 else :
363- raise ValueError (f"Unsupported memory effect: { effect } " )
363+ raise TileInternalError (f"Unexpected memory effect: { effect } " )
364364
365365 if merged_mem_effects .has_acquire_order :
366366 result_token_map [ACQUIRE_TOKEN_KEY ] = add_new_ifelse_result ()
You can’t perform that action at this time.
0 commit comments