This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SIMPLE: A language-independent tree IR
Just to clarify:
The idea of a language-independent tree IR in which all side-effects
are *_STMT nodes rather than *_EXPR nodes ("SIMPLE trees") sounds fine,
but I don't think language front-ends should use that tree IR;
instead they should generate a different form of tree IR
which allows *_EXPR nodes with side effects ("INITIAL trees")
and then some language-independent pass can convert from
INITIAL trees to SIMPLE trees.
Is that what you all had in mind?
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.