8377309: Remove PhaseIterGVN::verify_Identity_for exclusion for Min/Max find identity op

Reviewed-by: mhaessig, chagedorn
This commit is contained in:
jonghoonpark 2026-02-24 12:10:00 +00:00 committed by Manuel Hässig
parent 85d5688d37
commit f1169f9d61

View File

@ -2007,27 +2007,6 @@ void PhaseIterGVN::verify_Identity_for(Node* n) {
case Op_ConvI2L:
return;
// MaxNode::find_identity_operation
// Finds patterns like Max(A, Max(A, B)) -> Max(A, B)
// This can be a 2-hop search, so maybe notification is not
// good enough.
//
// Found with:
// compiler/codegen/TestBooleanVect.java
// -XX:VerifyIterativeGVN=1110
case Op_MaxL:
case Op_MinL:
case Op_MaxI:
case Op_MinI:
case Op_MaxF:
case Op_MinF:
case Op_MaxHF:
case Op_MinHF:
case Op_MaxD:
case Op_MinD:
return;
// AddINode::Identity
// Converts (x-y)+y to x
// Could be issue with notification