Add NoMemoryEffect for ops with value semantics

memory_effect
Ian Wood 2024-10-13 15:06:32 -05:00
parent b176939808
commit 896bcd3cf7
2 changed files with 530 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -255,6 +255,7 @@ def emit_op(
traits += ["AllowsTypeRefinement"]
if operator.has_value_semantics():
traits += ["HasValueSemantics"]
traits += ["NoMemoryEffect"]
if operator.is_readonly():
traits += ["ReadOnly"]