# HG changeset patch # User neliasso # Date 1550151092 -3600 # Node ID 7e0a4478e80fccfe0fc4c8d984c4ff8e39913291 # Parent b290489738b88820978e61136add6393f7632327 8087128: C2: Disallow definition split on MachCopySpill nodes Reviewed-by: kvn diff -r b290489738b8 -r 7e0a4478e80f src/share/vm/opto/reg_split.cpp --- a/src/share/vm/opto/reg_split.cpp Fri Jun 15 08:28:08 2018 -0700 +++ b/src/share/vm/opto/reg_split.cpp Thu Feb 14 14:31:32 2019 +0100 @@ -1171,9 +1171,8 @@ (deflrg._direct_conflict || deflrg._must_spill)) || // Check for LRG being up in a register and we are inside a high // pressure area. Spill it down immediately. - (defup && is_high_pressure(b,&deflrg,insidx))) ) { + (defup && is_high_pressure(b,&deflrg,insidx) && !n->is_SpillCopy())) ) { assert( !n->rematerialize(), "" ); - assert( !n->is_SpillCopy(), "" ); // Do a split at the def site. maxlrg = split_DEF( n, b, insidx, maxlrg, Reachblock, debug_defs, splits, slidx ); // If it wasn't split bail