Skip to content
Permalink
Browse files
8266712: [lworld] compiler/loopstripmining/DeadNodesInOuterLoopAtLoop…
…Cloning.java fails after merge
  • Loading branch information
TobiHartmann committed May 7, 2021
1 parent 716b530 commit e2b66fcea64bac04460c2dc02d4f48e1f8b4fe81
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/hotspot/share/opto/memnode.cpp
@@ -1144,7 +1144,7 @@ Node* MemNode::can_see_stored_value(Node* st, PhaseTransform* phase) const {
// LoadVector/StoreVector needs additional check to ensure the types match.
if (store_Opcode() == Op_StoreVector) {
const TypeVect* in_vt = st->as_StoreVector()->vect_type();
const TypeVect* out_vt = as_LoadVector()->vect_type();
const TypeVect* out_vt = is_Load() ? as_LoadVector()->vect_type() : as_StoreVector()->vect_type();
if (in_vt != out_vt) {
return NULL;
}

0 comments on commit e2b66fc

Please sign in to comment.