RFR: 8273148: Shouldn't increment _ifop_count when IfOp is created

Denghui Dong ddong at openjdk.java.net
Wed Sep 1 01:50:51 UTC 2021


On Tue, 31 Aug 2021 00:12:52 GMT, Dean Long <dlong at openjdk.org> wrote:

> The comment for int _ifop_count says "the number of IfOps successfully simplified", not "eliminated". If you want to distinguish between simplified and eliminated, I think we need another counter.

Thanks.
I think you are right, _ifop_count represents the number of simplifications of IfOp.Although IfOp is still created here, some operations are simplified, so it is reasonable to increment _ifop_count.
I will close this PR.

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

PR: https://git.openjdk.java.net/jdk/pull/5305


More information about the hotspot-compiler-dev mailing list