Avoid editing the current live interval during remat.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 10 Aug 2010 20:45:07 +0000 (20:45 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 10 Aug 2010 20:45:07 +0000 (20:45 +0000)
commitb67b12ea64aed7651960dff5444c25d2d0c156b2
treeef625aaf242d261c777ae68e30c3a2cdddaa8349
parent987eeccb61bc9c155057453b23980e39de71ff8e
Avoid editing the current live interval during remat.

The live interval may be used for a spill slot as well, and that spill slot
could be shared by split registers. We cannot shrink it, even if we know the
current register won't need the spill slot in that range.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110721 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/InlineSpiller.cpp