# HG changeset patch # User neliasso # Date 1530607670 -7200 # Node ID 79baec7d831e4654989b7c63c1f4cd3103169e6d # Parent c30c351183038c4eb7c289884f5786d3e47ee4c5 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 diff -r c30c35118303 -r 79baec7d831e src/hotspot/share/opto/gcm.cpp --- a/src/hotspot/share/opto/gcm.cpp Tue Jul 03 02:07:49 2018 +0200 +++ b/src/hotspot/share/opto/gcm.cpp Tue Jul 03 10:47:50 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.) //