From e5a73b38e76d1e58af429f8d763a111678e4bc68 Mon Sep 17 00:00:00 2001 From: Marc Chevalier Date: Thu, 16 Jul 2026 10:22:57 +0200 Subject: [PATCH] Re-enable --- src/hotspot/share/opto/phaseX.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/hotspot/share/opto/phaseX.cpp b/src/hotspot/share/opto/phaseX.cpp index 7884828d0b7..40db50d4d05 100644 --- a/src/hotspot/share/opto/phaseX.cpp +++ b/src/hotspot/share/opto/phaseX.cpp @@ -2816,12 +2816,9 @@ void PhaseIterGVN::add_users_of_use_to_worklist(Node* n, Node* use, Unique_Node_ if (use_op == Op_CastP2X) { for (DUIterator_Fast i2max, i2 = use->fast_outs(i2max); i2 < i2max; i2++) { Node* u = use->fast_out(i2); -#if 0 - // TODO 8350865 Still needed? Yes, I think this is from PhaseMacroExpand::expand_mh_intrinsic_return if (u->Opcode() == Op_AndX) { worklist.push(u); } -#endif // Search for CmpL(OrL(CastP2X(..), CastP2X(..)), 0L) if (u->Opcode() == Op_OrL) { for (DUIterator_Fast i3max, i3 = u->fast_outs(i3max); i3 < i3max; i3++) { @@ -3235,9 +3232,7 @@ void PhaseCCP::push_counted_loop_phi(Unique_Node_List& worklist, Node* parent, c } } -// TODO 8350865 Still needed? Yes, I think this is from PhaseMacroExpand::expand_mh_intrinsic_return void PhaseCCP::push_cast(Unique_Node_List& worklist, const Node* use) { -#if 0 uint use_op = use->Opcode(); if (use_op == Op_CastP2X) { for (DUIterator_Fast i2max, i2 = use->fast_outs(i2max); i2 < i2max; i2++) { @@ -3247,7 +3242,6 @@ void PhaseCCP::push_cast(Unique_Node_List& worklist, const Node* use) { } } } -#endif } // Loading the java mirror from a Klass requires two loads and the type of the mirror load depends on the type of 'n'.