File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -747,20 +747,6 @@ def always_exits(op: parser.InstDef) -> bool:
747747 return True
748748 return False
749749
750-
751- def stack_effect_only_peeks (instr : parser .InstDef ) -> bool :
752- stack_inputs = [s for s in instr .inputs if not isinstance (s , parser .CacheEffect )]
753- if len (stack_inputs ) != len (instr .outputs ):
754- return False
755- if len (stack_inputs ) == 0 :
756- return False
757- if any (s .cond for s in stack_inputs ) or any (s .cond for s in instr .outputs ):
758- return False
759- return all (
760- (s .name == other .name and s .type == other .type and s .size == other .size )
761- for s , other in zip (stack_inputs , instr .outputs )
762- )
763-
764750def compute_properties (op : parser .InstDef ) -> Properties :
765751 escaping_calls = find_escaping_api_calls (op )
766752 has_free = (
You can’t perform that action at this time.
0 commit comments