commit | 752272a5e553313f7b0397a06a23b4fe8ac013c4 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Wed Feb 11 08:24:21 2009 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Wed Feb 11 08:24:21 2009 +0000 |
tree | e8f806533ea4d6d3a39fe5fb5fc1f79abead66c8 | |
parent | 47ac0f0c7c39289f5970688154e385be22b7f293 [diff] |
Implement PR3495: local spiller optimization. The local spiller can now keep availability information over BB boundaries. It visits BB's in depth first order. After visiting a BB if it find a successor which has a single predecessor it visits the successor next without clearing the availability information. This allows the successor to omit reloads or change them into copies. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64298 91177308-0d34-0410-b5e6-96231b3b80d8