Igor Laevsky 544d686bc0 [StatepointLowering] Reuse stack slots across basic blocks
During statepoint lowering we can sometimes avoid spilling of the value if we know that it was already spilled for previous statepoint.
We were doing this by checking if incoming statepoint value was lowered into load from stack slot. This was working only in boundaries of one basic block.

But instead of looking at the lowered node we can look directly at the llvm-ir value and if it was gc.relocate (or some simple modification of it) look up stack slot for it's derived pointer and reuse stack slot from it. This allows us to look across basic block boundaries.

Differential Revision: http://reviews.llvm.org/D10251



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239472 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-10 12:31:53 +00:00
..
2015-06-07 06:40:24 +00:00
2015-06-06 20:44:53 +00:00
2015-06-10 03:06:06 +00:00
2015-06-09 21:50:22 +00:00
2015-06-09 21:50:22 +00:00
2015-06-09 21:50:22 +00:00
2015-06-09 21:50:22 +00:00