OSDN Git Service

Improve detection of lifetime holes.
authorNicolas Geoffray <ngeoffray@google.com>
Mon, 29 Sep 2014 11:00:40 +0000 (12:00 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Tue, 30 Sep 2014 12:50:38 +0000 (13:50 +0100)
commit8ddb00ca935733f5d3b07816e5bb33d6cabe6ec4
tree9bca67b136523eb31aab736988143295ece97b56
parentcc6b59ee25d7b9782cc971687715d664a97b05bd
Improve detection of lifetime holes.

The check concluding that the next use was in a successor
was too conservative: two blocks following each other
in terms of liveness are not necessarily predecessor/sucessor.

Change-Id: Ideec98046c812aa5fb63781141b5fde24c706d6d
compiler/optimizing/live_ranges_test.cc
compiler/optimizing/liveness_test.cc
compiler/optimizing/register_allocator.cc
compiler/optimizing/ssa_liveness_analysis.cc
compiler/optimizing/ssa_liveness_analysis.h