diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-18 04:23:06 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-18 04:23:06 +0000 |
commit | 2a72bfa1b1a634ef6c5aa866cac1c0afda4534e4 (patch) | |
tree | 66d1108e44a8df64075bb3dce7d97dd5213c8c74 /lib/Support/raw_ostream.cpp | |
parent | a26f36c597997894974eeecdde5caa22a6d801e8 (diff) |
Hoist spills when the same value is known to be in less loopy sibling registers.
Stack slot real estate is virtually free compared to registers, so it is
advantageous to spill earlier even though the same value is now kept in both a
register and a stack slot.
Also eliminate redundant spills by extending the stack slot live range
underneath reloaded registers.
This can trigger a dead code elimination, removing copies and even reloads that
were only feeding spills.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127868 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/raw_ostream.cpp')
0 files changed, 0 insertions, 0 deletions