Earlier quoted context omitted.
Remat can produce a performance boost even when everything has a register. Admittedly, this comes up more often in non-CPU backends.
> Remat can produce a performance boost even when everything has a register. Can you give an example?
Also loads and stores and function calls, but that's a bit finicky to tune. We usually tell people to update their programs when this is needed.