diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-06-16 18:45:08 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-06-16 18:45:08 +0000 |
commit | 6c0da25129eb0fcf44af6724f3e81cfb1a2bb891 (patch) | |
tree | f972e8107e8fe7504da46232f820fb2269e41222 /llvm/lib/CodeGen/SjLjEHPrepare.cpp | |
parent | e3721dd27c8c12b5ab7e541467cf8cb0c41c21a0 (diff) | |
download | bcm5719-llvm-6c0da25129eb0fcf44af6724f3e81cfb1a2bb891.tar.gz bcm5719-llvm-6c0da25129eb0fcf44af6724f3e81cfb1a2bb891.zip |
add FIXME
llvm-svn: 106126
Diffstat (limited to 'llvm/lib/CodeGen/SjLjEHPrepare.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SjLjEHPrepare.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SjLjEHPrepare.cpp b/llvm/lib/CodeGen/SjLjEHPrepare.cpp index a002ef8a628..9aa2b69f65c 100644 --- a/llvm/lib/CodeGen/SjLjEHPrepare.cpp +++ b/llvm/lib/CodeGen/SjLjEHPrepare.cpp @@ -289,6 +289,9 @@ splitLiveRangesAcrossInvokes(SmallVector<InvokeInst*,16> &Invokes) { } // If we decided we need a spill, do it. + // FIXME: Spilling this way is overkill, as it forces all uses of + // the value to be reloaded from the stack slot, even those that aren't + // in the unwind blocks. We should be more selective. if (NeedsSpill) { ++NumSpilled; DemoteRegToStack(*Inst, true); |