This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Removal of gotos from cfg based ir
- From: Chris Lattner <sabre at nondot dot org>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: Andrew MacLeod <amacleod at redhat dot com>,Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>,Diego Novillo <dnovillo at redhat dot com>,gcc-patches <gcc-patches at gcc dot gnu dot org>, Jeff Law <law at redhat dot com>
- Date: Fri, 14 Nov 2003 10:27:15 -0600 (CST)
- Subject: Re: [tree-ssa] Removal of gotos from cfg based ir
> > The LLVM EH constructs are described in more detail in this paper:
> > http://llvm.cs.uiuc.edu/pubs/2003-09-30-LifelongOptimizationTR.html
> >
> > Note that this makes spliting exception edges and other CFG work both
> > completely trivial, and uniform with the rest of the representation.
>
> Do you have such a implicit goto hidden in each call, or just calls that
> may trap?
Just calls that trap, and which have cleanups to be run in the current
function.
> What about other kinds of instructions? Do you support non-call
> exception like Java has?
We don't support non-call exceptions yet. I have the plans drafted up,
but they have not yet been implemented. If you're interested, you can
read about them here:
http://llvm.cs.uiuc.edu/pubs/2003-10-01-LLVA.html
This will probably happen over the next six months as our Java front-end
is getting more attention now. :)
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/