Trace back through sibling copies to hoist spills and find rematerializable defs.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 15 Mar 2011 21:13:25 +0000 (21:13 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 15 Mar 2011 21:13:25 +0000 (21:13 +0000)
commit13ba2527f73554fff39ca31250803b253076afba
tree52337f6c92f8f26c52a0a5898e3ae8683bdf2b78
parent29ef87599c86b28db94d57705ab2901768253cad
Trace back through sibling copies to hoist spills and find rematerializable defs.

After live range splitting, an original value may be available in multiple
registers. Tracing back through the registers containing the same value, find
the best place to insert a spill, determine if the value has already been
spilled, or discover a reaching def that may be rematerialized.

This is only the analysis part. The information is not used for anything yet.

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