changeset 50982:0a8198fa7e7a

8205999: C2 compilation fails with "assert(store->find_edge(load) != -1) failed: missing precedence edge" Summary: Backout 8204157 to state before 8192992 Reviewed-by: thartmann, mdoerr
author neliasso
date Tue, 03 Jul 2018 09:11:00 +0200
parents ce27f6e0734d
children 66a808262d3b
files src/hotspot/share/opto/gcm.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/opto/gcm.cpp	Wed Jul 04 17:49:21 2018 +0530
+++ b/src/hotspot/share/opto/gcm.cpp	Tue Jul 03 09:11:00 2018 +0200
@@ -683,7 +683,7 @@
     Block* store_block = get_block_for_node(store);
     assert(store_block != NULL, "unused killing projections skipped above");
 
-    if (store->is_Phi() && store->in(0)->is_Loop()) {
+    if (store->is_Phi()) {
       // Loop-phis need to raise load before input. (Other phis are treated
       // as store below.)
       //