Skip to content

Commit 405d5f7

Browse files
author
Hamlin Li
committed
8371297: C2: assert triggered in BoolTest::BoolTest
Reviewed-by: dlong, luhenry, epeter
1 parent cbd77fc commit 405d5f7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/hotspot/share/opto/vtransform.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,8 +1586,9 @@ void VTransformReinterpretVectorNode::print_spec() const {
15861586

15871587
void VTransformBoolVectorNode::print_spec() const {
15881588
VTransformVectorNode::print_spec();
1589-
const BoolTest bt(_test._mask);
1590-
tty->print(" test=");
1589+
BoolTest::mask m = BoolTest::mask(_test._mask & ~BoolTest::unsigned_compare);
1590+
const BoolTest bt(m);
1591+
tty->print(" test=%s", m == _test._mask ? "" : "unsigned ");
15911592
bt.dump_on(tty);
15921593
}
15931594
#endif

0 commit comments

Comments
 (0)