Chromium Code Reviews
DescriptionKeep list of uses sorted when building it.
We were violating sorting at instructions that use the same value as both fixed register input and an unallocated one producing a list that contained use at P, followed by a use at P-1.
This would later cause a problem when we split live-range at P-1 and spill [..., P-1) prefix.
Use at P-1 would be attributed to unspilled part of the range leading to completely incorrect parallel move at P-1: [rx <- S+X, ry <- rx], where rx - is the aforementioned fixed register and ry is a register selected for an unallocated use of the value.
R=srdjan@google.com
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=40681
Patch Set 1 #
Total comments: 1
Messages
Total messages: 3 (0 generated)
|
||||||||||||||||||||||||||||