8087128: C2: Disallow definition split on MachCopySpill nodes
Reviewed-by: kvn
This commit is contained in:
parent
29fc9b0f0e
commit
0a5047a326
@ -1192,9 +1192,8 @@ uint PhaseChaitin::Split(uint maxlrg, ResourceArea* split_arena) {
|
||||
(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
|
||||
|
Loading…
x
Reference in New Issue
Block a user