Hi all, is there any documentation other than comments in the code about the design of MemoryEffects? I’m curious specifically about Resource, which is a relatively generic name, and yields quite a lot of irrelevant results when searching in the codebase, and nothing when searching the web.
I’m working on representing register reads and writes as memory effects, to leverage generic transformations safely. It seems that leveraging Resource is the right approach, I just wanted to check that this is the case, and whether it would make sense to carry the specific register written to/from in the Resource subclass or not.