23 lines
830 B
Diff
23 lines
830 B
Diff
Date: Fri, 9 Jun 2023 12:20:25 +0800
|
|
Subject: fix jdk8 fastdebug hotspot/test/compiler/c2/TestSplitDivisionThroughPhi.java crash
|
|
|
|
---
|
|
hotspot/src/share/vm/opto/loopopts.cpp | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/hotspot/src/share/vm/opto/loopopts.cpp b/hotspot/src/share/vm/opto/loopopts.cpp
|
|
index 006b1a203..cacad2a1a 100644
|
|
--- a/hotspot/src/share/vm/opto/loopopts.cpp
|
|
+++ b/hotspot/src/share/vm/opto/loopopts.cpp
|
|
@@ -226,7 +226,6 @@ bool PhaseIdealLoop::cannot_split_division(const Node* n, const Node* region) co
|
|
return false;
|
|
}
|
|
|
|
- assert(n->in(0) == NULL, "divisions with zero check should already have bailed out earlier in split-if");
|
|
Node* divisor = n->in(2);
|
|
return is_divisor_counted_loop_phi(divisor, region) &&
|
|
loop_phi_backedge_type_contains_zero(divisor, zero);
|
|
--
|
|
2.22.0
|
|
|