[llvm-commits] [llvm] r156114 - in /llvm/trunk: include/llvm/Transforms/Utils/FunctionUtils.h lib/Transforms/Utils/CodeExtractor.cpp

Chandler Carruth chandlerc at google.com
Fri May 4 00:50:31 PDT 2012


On Fri, May 4, 2012 at 12:35 AM, Duncan Sands <baldrick at free.fr> wrote:

> it would be good to do something cleverer for landing pads.  In theory if
> both
> the landing pad and all invokes feeding it are in the same code region then
> extracting them should be OK.  Unfortunately this won't work right because
> the
> various exception handling intrinsics (eg eh.typeid.for) that may be used
> down
> stream from the landing pad need to be in the same function as the landing
> pad
> and invoke.  That may be fixable.
>

I'm very open to folks expanding the heuristics here, but I don't trust my
self to do a good job with EH, or to write good test cases for it... I
should finish with the refactorings here soon, and maybe you or someone can
extend it to work better w/ invokes and LPs?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120504/dd0df361/attachment.html>


More information about the llvm-commits mailing list