changeset 61317:63995d6b2205 vectorIntrinsics

[vector] Undo workaround fix Reviewed-by: psandoz
author sviswanathan
date Thu, 21 May 2020 13:59:35 -0700
parents fc879cfe29ce
children 3c09738f0256
files src/hotspot/share/opto/memnode.cpp
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/opto/memnode.cpp	Thu May 21 12:57:08 2020 -0700
+++ b/src/hotspot/share/opto/memnode.cpp	Thu May 21 13:59:35 2020 -0700
@@ -2572,8 +2572,7 @@
   // Capture an unaliased, unconditional, simple store into an initializer.
   // Or, if it is independent of the allocation, hoist it above the allocation.
   if (ReduceFieldZeroing && /*can_reshape &&*/
-      mem->is_Proj() && mem->in(0)->is_Initialize() &&
-      (as_Store()->in(MemNode::ValueIn)->bottom_type()->isa_vect() == NULL)) {
+      mem->is_Proj() && mem->in(0)->is_Initialize()) {
     InitializeNode* init = mem->in(0)->as_Initialize();
     intptr_t offset = init->can_capture_store(this, phase, can_reshape);
     if (offset > 0) {