提交 1ca93396 编写于 作者: K kvn

8001635: assert(in_bb(n)) failed: must be

Summary: Added missed check that Load node is in processed loop block.
Reviewed-by: twisti
上级 04231576
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册