diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-01-28 00:47:18 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-01-28 00:47:18 +0000 |
commit | b4544544a6f045d102266e367d04dbfeb78f3fc8 (patch) | |
tree | ee61558acb5acb4f94c04d4ad69e68aa50b00389 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9aa4684fbb1dda063b1789c4259b3c7590571f01 (diff) | |
download | llvm-b4544544a6f045d102266e367d04dbfeb78f3fc8.zip llvm-b4544544a6f045d102266e367d04dbfeb78f3fc8.tar.gz llvm-b4544544a6f045d102266e367d04dbfeb78f3fc8.tar.bz2 |
Don't always create a separate block for the call to _Unwind_Resume.
Sometimes there is only one 'resume' instruction per function. In those
situations, we don't need a separate block for the call to _Unwind_Resume. In
fact, it adds a lot of overhead to code-gen if we do that -- especially at -O0.
If we have a single 'resume' instruction, just generate the call within that
block.
<rdar://problem/10694814>
llvm-svn: 149159
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions