mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
7004535: Clone loop predicate during loop unswitch
Clone loop predicate for clonned loops Reviewed-by: never
This commit is contained in:
parent
68f1177f59
commit
00eca5e982
14 changed files with 1298 additions and 716 deletions
|
@ -489,6 +489,9 @@ class Compile : public Phase {
|
|||
// remove the opaque nodes that protect the predicates so that the unused checks and
|
||||
// uncommon traps will be eliminated from the graph.
|
||||
void cleanup_loop_predicates(PhaseIterGVN &igvn);
|
||||
bool is_predicate_opaq(Node * n) {
|
||||
return _predicate_opaqs->contains(n);
|
||||
}
|
||||
|
||||
// Compilation environment.
|
||||
Arena* comp_arena() { return &_comp_arena; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue