hls-llvm-project
hls-llvm-project copied to clipboard
Avoid `Field(...) = expr` when `expr` allocates
It is likely unsafe to use Field(...) = ... after caml_alloc_small
if the right-hand side allocates. This pull requests replaces two
occurrences of this pattern with calls to caml_alloc_some.