mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
8001635: assert(in_bb(n)) failed: must be
Added missed check that Load node is in processed loop block. Reviewed-by: twisti
This commit is contained in:
parent
4531e51fc4
commit
fc84b11227
1 changed files with 1 additions and 1 deletions
|
@ -1809,7 +1809,7 @@ void SuperWord::compute_vector_element_type() {
|
|||
const Type* vt = vtn;
|
||||
if (VectorNode::is_shift(in)) {
|
||||
Node* load = in->in(1);
|
||||
if (load->is_Load() && (velt_type(load)->basic_type() == T_INT)) {
|
||||
if (load->is_Load() && in_bb(load) && (velt_type(load)->basic_type() == T_INT)) {
|
||||
vt = velt_type(load);
|
||||
} else if (in->Opcode() != Op_LShiftI) {
|
||||
// Widen type to Int to avoid creation of right shift vector
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue