Integrated: 8343148: C2: Refactor uses of "PhaseValue::*con*() + PhaseIdealLoop::set_ctrl()" into separate method

theoweidmannoracle duke at openjdk.org
Wed Dec 11 07:54:45 UTC 2024


On Fri, 1 Nov 2024 16:04:38 GMT, theoweidmannoracle <duke at openjdk.org> wrote:

> This patch introduces the methods `PhaseIdealLoop::intcon` and `PhaseIdealLoop::longcon` which are wrappers for:
> 
> 
> ConINode* node = _igvn.intcon(i);
> set_ctrl(node, C->root());
> 
> 
> and
> 
> 
> ConLNode* node = _igvn.longcon(i);
> set_ctrl(node, C->root());
> 
> 
> Occurrences of this pattern in loopnode.cpp were replaced with the appropriate call to the new methods.

This pull request has now been integrated.

Changeset: e88e793c
Author:    theoweidmannoracle <theo.weidmann at oracle.com>
Committer: Christian Hagedorn <chagedorn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e88e793cfd9a5db8745aa187c2726ad029b60ab7
Stats:     134 lines in 8 files changed: 44 ins; 44 del; 46 mod

8343148: C2: Refactor uses of "PhaseValue::*con*() + PhaseIdealLoop::set_ctrl()" into separate method

Reviewed-by: kvn, chagedorn, thartmann

-------------

PR: https://git.openjdk.org/jdk/pull/21836


More information about the hotspot-compiler-dev mailing list