Re: [PATCH] abstract the on entry cache.

2021-05-09 Thread Aldy Hernandez via Gcc-patches
} -// Return a reference to the ssa_block_cache for NAME. If it has not been -// accessed yet, allocate it first. +// Set the range for NAME on entry to block BB to R. +// If it has not been // accessed yet, allocate it first. There's a spurious // in there. +// Provide a hunk of memory

[PATCH] abstract the on entry cache.

2021-05-07 Thread Andrew MacLeod via Gcc-patches
This patch cleans up the ssa_block_range class which represents the bulk of the on-entry cache storage. PR 100299 shows the we need better control over the cache, and different approaches can be useful for different situations. In preparation for fixing that PR, this patch: 1) Abstracts ssa_