On Mon, 7 Sep 2026 12:07:33 GMT, Andrew Haley <[email protected]> wrote:
> > I think changing the mentions of `r30` to `lr` ought to be fairly > > uncontentious. > > Yes. Please do so. Does the most recent commit address your concern here? > > Perhaps a restructuring of the code might help but I cannot see any obvious > > way of avoiding aliasing that results in simpler, clearer code. > > There's a couple of things that can be done, but perhaps not today. > > We can poison aliases when they are being used for some other reason, simply > by saying `a6 = noreg;`. Readable code is better than a comment. > > Better, we can _get rid of hand-allocated registers altogether_ by using > `RegSet`s to to collect live registers. I've filed [JDK-8392331](https://bugs.openjdk.org/browse/JDK-8392331) for this enhancement. ------------- PR Comment: https://git.openjdk.org/jdk/pull/32049#issuecomment-5657776355
