commit | 8de3b1eb868fc5e9b6acb334ee487d943863f810 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Jul 02 17:44:57 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Jul 02 17:44:57 2010 +0000 |
tree | 4bfc04e4e1d278dff724a8ce377f2bd46e502fb2 | |
parent | 6e9926108a69efbc11f1cadf947e98500e4d4228 [diff] |
Rematerialize as much as possible before inserting spills and reloads. This allows us to recognize the common case where all uses could be rematerialized, and no stack slot allocation is necessary. If some values could be fully rematerialized, remove them from the live range before allocating a stack slot for the rest. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107492 91177308-0d34-0410-b5e6-96231b3b80d8