Skip to content

Commit 7a50d29

Browse files
author
duke
committedApr 22, 2022
Automatic merge of jdk:master into master
2 parents 9ea150a + 139615b commit 7a50d29

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎src/hotspot/share/opto/idealGraphPrinter.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2007, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2007, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -456,6 +456,9 @@ void IdealGraphPrinter::visit_node(Node *n, bool edges, VectorSet* temp_set) {
456456
if (flags & Node::Flag_has_call) {
457457
print_prop("has_call", "true");
458458
}
459+
if (flags & Node::Flag_is_reduction) {
460+
print_prop("is_reduction", "true");
461+
}
459462

460463
if (C->matcher() != NULL) {
461464
if (C->matcher()->is_shared(node)) {

‎src/hotspot/share/opto/loopnode.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -2233,6 +2233,7 @@ void CountedLoopNode::dump_spec(outputStream *st) const {
22332233
if (is_pre_loop ()) st->print("pre of N%d" , _main_idx);
22342234
if (is_main_loop()) st->print("main of N%d", _idx);
22352235
if (is_post_loop()) st->print("post of N%d", _main_idx);
2236+
if (is_reduction_loop()) st->print(" reduction");
22362237
if (is_strip_mined()) st->print(" strip mined");
22372238
}
22382239
#endif
@@ -3934,6 +3935,7 @@ void IdealLoopTree::dump_head() const {
39343935
if (cl->is_pre_loop ()) tty->print(" pre" );
39353936
if (cl->is_main_loop()) tty->print(" main");
39363937
if (cl->is_post_loop()) tty->print(" post");
3938+
if (cl->is_reduction_loop()) tty->print(" reduction");
39373939
if (cl->is_vectorized_loop()) tty->print(" vector");
39383940
if (cl->range_checks_present()) tty->print(" rc ");
39393941
if (cl->is_multiversioned()) tty->print(" multi ");

0 commit comments

Comments
 (0)
Failed to load comments.