8205999: C2 compilation fails with "assert(store->find_edge(load) != -1) failed: missing precedence edge"

Backout 8204157 to state before 8192992

Reviewed-by: thartmann, mdoerr
This commit is contained in:
Nils Eliasson 2018-07-03 09:11:00 +02:00
parent 8d46c49dde
commit 9b281d9d05

View File

@ -683,7 +683,7 @@ Block* PhaseCFG::insert_anti_dependences(Block* LCA, Node* load, bool verify) {
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.)
//