Disable local spill hoisting for non-killing copies.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 16 Sep 2011 00:03:33 +0000 (00:03 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 16 Sep 2011 00:03:33 +0000 (00:03 +0000)
commit69cf1cac3f62e60a50ff0aa9808ea4d317e273ef
tree9419df28eda4d5517460102d6402a202e868911d
parent246ae02bce7afb0411d21803eb0ad1b3832189f9
Disable local spill hoisting for non-killing copies.

If the source register is live after the copy being spilled, there is no
point to hoisting it.  Hoisting inside a basic block only serves to
resolve interferences by shortening the live range of the source.

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