mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
8041351: Crash in src/share/vm/opto/loopnode.cpp:3215 - assert(!had_error) failed: bad dominance
Add missing is_mem() check when we collect load nodes in SuperWord::co_locate_pack(). Reviewed-by: iveresov
This commit is contained in:
parent
24be3e5628
commit
26de6296e0
1 changed files with 2 additions and 1 deletions
|
@ -1266,9 +1266,10 @@ void SuperWord::co_locate_pack(Node_List* pk) {
|
|||
memops.clear();
|
||||
for (DUIterator i = upper_insert_pt->outs(); upper_insert_pt->has_out(i); i++) {
|
||||
Node* use = upper_insert_pt->out(i);
|
||||
if (!use->is_Store())
|
||||
if (use->is_Mem() && !use->is_Store()) {
|
||||
memops.push(use);
|
||||
}
|
||||
}
|
||||
|
||||
MemNode* lower_insert_pt = last;
|
||||
previous = last; //previous store in pk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue