From f1169f9d61f6f3eeb0ab3e2ddc0bbcdcaaceea04 Mon Sep 17 00:00:00 2001 From: jonghoonpark Date: Tue, 24 Feb 2026 12:10:00 +0000 Subject: [PATCH] 8377309: Remove PhaseIterGVN::verify_Identity_for exclusion for Min/Max find identity op Reviewed-by: mhaessig, chagedorn --- src/hotspot/share/opto/phaseX.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/hotspot/share/opto/phaseX.cpp b/src/hotspot/share/opto/phaseX.cpp index 9a9a731a022..0699255a59d 100644 --- a/src/hotspot/share/opto/phaseX.cpp +++ b/src/hotspot/share/opto/phaseX.cpp @@ -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