RFR(XS): 8239335: C2: assert((Value(phase) == t) || (t != TypeInt::CC_GT && t != TypeInt::CC_EQ)) failed: missing Value() optimization

Tobias Hartmann tobias.hartmann at oracle.com
Fri Mar 6 11:20:48 UTC 2020


On 06.03.20 11:48, Roland Westrelin wrote:
> It's converted to a pointer comparison and CmpPNode::sub() constant
> folds it because both inputs are constant so the result of the
> comparison is known.

Makes sense, thanks for the explanation!

Best regards,
Tobias


More information about the hotspot-compiler-dev mailing list