diff options
| author | Bill Wendling <isanbard@gmail.com> | 2012-03-10 07:11:55 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2012-03-10 07:11:55 +0000 |
| commit | 1ab79c6db369a7b572b558ade29c9b7c0c23175a (patch) | |
| tree | 2589f7f31be0e06d3101398f3ee4a90863a7eb43 /llvm/lib/Target/TargetLibraryInfo.cpp | |
| parent | d2f7007e09e580c432aff05dc74035494db747eb (diff) | |
| download | bcm5719-llvm-1ab79c6db369a7b572b558ade29c9b7c0c23175a.tar.gz bcm5719-llvm-1ab79c6db369a7b572b558ade29c9b7c0c23175a.zip | |
Implement a more intelligent way of spilling uses across an invoke boundary.
The old way of determine when and where to spill a value that was used inside of
a landing pad resulted in spilling that value everywhere and not just at the
invoke edge.
This algorithm determines which values are used within a landing pad. It then
spills those values before the invoke and reloads them before the uses. This
should prevent excessive spilling in many cases, e.g. inside of loops.
<rdar://problem/10609139>
llvm-svn: 152486
Diffstat (limited to 'llvm/lib/Target/TargetLibraryInfo.cpp')
0 files changed, 0 insertions, 0 deletions

