提交 6dc113c3 编写于 作者: K kvn

8041351: Crash in src/share/vm/opto/loopnode.cpp:3215 - assert(!had_error) failed: bad dominance

Summary: add missing is_mem() check when we collect load nodes in SuperWord::co_locate_pack().
Reviewed-by: iveresov
上级 50d2dfe9
...@@ -1262,8 +1262,9 @@ void SuperWord::co_locate_pack(Node_List* pk) { ...@@ -1262,8 +1262,9 @@ void SuperWord::co_locate_pack(Node_List* pk) {
memops.clear(); memops.clear();
for (DUIterator i = upper_insert_pt->outs(); upper_insert_pt->has_out(i); i++) { for (DUIterator i = upper_insert_pt->outs(); upper_insert_pt->has_out(i); i++) {
Node* use = upper_insert_pt->out(i); Node* use = upper_insert_pt->out(i);
if (!use->is_Store()) if (use->is_Mem() && !use->is_Store()) {
memops.push(use); memops.push(use);
}
} }
MemNode* lower_insert_pt = last; MemNode* lower_insert_pt = last;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册