jayfoad wrote: I'm ambivalent. Recomputing frame sizes instead of storing them seems like a cleaner approach, but it also seems like wasted effort in PEI to do a complete walk of the CFG just to recompute them. https://github.com/llvm/llvm-project/pull/106964