[llvm-commits] llvm-gcc: exception handling tweaks

Duncan Sands baldrick at free.fr
Wed Jul 4 15:57:40 PDT 2007


(1) Fix some comments.
(2) Correct off-by-one in test for branching within the same scope
(currently it never triggers, but comes out in the wash later).
(3) Have all branches to the same destination share cleanup code,
not just exception unwinding branches.  Currently each non-unwind
branch (like falling through at the end of a try scope) gets its
own copy of cleanups.  Change inspired by the thought that the
optimizers find it easy to duplicate blocks, but hard to merge them.
(4) Add a missing bitcast in a rare case.

Ciao,

Duncan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eh_tweaks.diff
Type: text/x-diff
Size: 3778 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070705/01727f15/attachment.diff>


More information about the llvm-commits mailing list