When profiling one-shot-bufferization over large programs, I found that the analysis would spend a large amount of time checking whether two operations are "inside mutually exclusive regions". This change adds a cache for that information, which can result in a noticeable speedup depending on program structure.
56 KiB
56 KiB