On Wed Jan 17 15:23:09 2024 +0000, Nikolay Sivov wrote:
I think initialize_vars() is not suitable for general use case of just storing initializer. Current it does produce blocks to initialize what could be actually initialized. For the purposes of effects metadata, what we need is per-variable initializer field, that could later be turned to such instruction blocks if necessary. Cases when it's not necessary are state objects, strings, and annotations.
I don't understand what's wrong with producing blocks?