FW: Question about Gimple FE
Diego Novillo
dnovillo@google.com
Fri Apr 3 17:05:00 GMT 2015
On Fri, Apr 3, 2015 at 11:10 AM, xue yinsong <xyshh94225@hotmail.com> wrote:
>So it’s better not to try to read the exact dump format.
>Could we use a similar but more complete syntax instead?
Absolutely. The initial attempt for gimple fe was to use a tuple-based
syntax that is very easy to parse. But that was only chosen because it
simplifies parsing.
You first need to design a text representation for the IL that allows
conveying all the elements needed to instantiate the in-memory
representation of gimple.
Diego.
More information about the Gcc
mailing list