[llvm-dev] Function with multi return path?

TONGARI J via llvm-dev llvm-dev at lists.llvm.org
Thu Jun 1 19:38:19 PDT 2017

Hi Reid,

I'm aware of the invoke instruction and landingpad. But it's too heavy
weight for control flow. It's quite expensive to take the exceptional path
in C++.

What I want is a more lightweight approach, to pass the return address to
the callee, and let the callee jump to that address directly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170602/57f0571e/attachment.html>

More information about the llvm-dev mailing list