diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-05-03 20:42:13 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-05-03 20:42:13 +0000 |
commit | 7d6b6a05b549da70b4473f015c97954c2a422724 (patch) | |
tree | e680a75be37810632e1b8755158e6ad70dba67be /test/Assembler | |
parent | ad20681cdeaf72383891b153b925624aa585be4d (diff) |
Gracefully handle invalid live ranges. Fix PR9831.
Register coalescing can sometimes create live ranges that end in the middle of a
basic block without any killing instruction. When SplitKit detects this, it will
repair the live range by shrinking it to its uses.
Live range splitting also needs to know about this. When the range shrinks so
much that it becomes allocatable, live range splitting fails because it can't
find a good split point. It is paranoid about making progress, so an allocatable
range is considered an error.
The coalescer should really not be creating these bad live ranges. They appear
when coalescing dead copies.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130787 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
0 files changed, 0 insertions, 0 deletions