Skip to content
Permalink
Browse files
8244186: assertion failure test/jdk/javax/net/ssl/DTLS/RespondToRetra…
…nsmit.java

Removing an assertion which prevents logic folding over cones already having a MacroLogic node.

Reviewed-by: kvn
  • Loading branch information
Jatin Bhateja committed May 2, 2020
1 parent bcf3ae8 commit f0f7070cb55f4f32aa75a49178eda31c555d0524
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/hotspot/share/opto/compile.cpp
@@ -2478,7 +2478,9 @@ uint Compile::compute_truth_table(Unique_Node_List& partition, Unique_Node_List&
bool Compile::compute_logic_cone(Node* n, Unique_Node_List& partition, Unique_Node_List& inputs) {
assert(partition.size() == 0, "not empty");
assert(inputs.size() == 0, "not empty");
assert(!is_vector_ternary_bitwise_op(n), "not supported");
if (is_vector_ternary_bitwise_op(n)) {
return false;
}

bool is_unary_op = is_vector_unary_bitwise_op(n);
if (is_unary_op) {
@@ -2520,6 +2522,7 @@ bool Compile::compute_logic_cone(Node* n, Unique_Node_List& partition, Unique_No
(inputs.size() == 2 || inputs.size() == 3);
}


void Compile::process_logic_cone_root(PhaseIterGVN &igvn, Node *n, VectorSet &visited) {
assert(is_vector_bitwise_op(n), "not a root");

0 comments on commit f0f7070

Please sign in to comment.