Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Issue 601103004: Keep list of uses sorted when building it. (Closed)

Created:
6 years, 2 months ago by Vyacheslav Egorov (Google)
Modified:
6 years, 2 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Keep 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
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -26 lines) Patch
M runtime/vm/flow_graph_allocator.h View 2 chunks +1 line, -5 lines 0 comments Download
M runtime/vm/flow_graph_allocator.cc View 5 chunks +31 lines, -21 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
Vyacheslav Egorov (Google)
6 years, 2 months ago (2014-09-25 14:52:57 UTC) #1
srdjan
lgtm https://codereview.chromium.org/601103004/diff/1/runtime/vm/flow_graph_allocator.cc File runtime/vm/flow_graph_allocator.cc (right): https://codereview.chromium.org/601103004/diff/1/runtime/vm/flow_graph_allocator.cc#newcode267 runtime/vm/flow_graph_allocator.cc:267: UsePosition* LiveRange::AddUse(intptr_t pos, Location* location_slot) { Who is ...
6 years, 2 months ago (2014-09-25 16:32:44 UTC) #2
Vyacheslav Egorov (Google)
6 years, 2 months ago (2014-09-25 17:10:13 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 40681 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698