comp.lang.ada
 help / color / mirror / Atom feed
From: Gene <gene.ressler@gmail.com>
Subject: Re: Announcement: GNAT ported to LLVM
Date: Wed, 26 Mar 2008 17:41:38 -0700 (PDT)
Date: 2008-03-26T17:41:38-07:00	[thread overview]
Message-ID: <76f13aae-d11f-4ffa-b4d1-ad3d597598d8@a70g2000hsh.googlegroups.com> (raw)
In-Reply-To: 7e6246de-2ac0-4311-8047-ae88ea4ccb38@i29g2000prf.googlegroups.com

On Mar 24, 2:09 pm, baldrick <baldr...@free.fr> wrote:
> Hi Sam,
>
> > Thanks Duncan, this is an outstanding contribution to the Ada
> > community. Given that LLVM is already ahead of GCC in terms of code
> > generation quality (sometimes, starting from zero and choosing another
> > path is a competitive advantage), this looks very promising.
>
> I'm glad you appreciate my work!  That said, in my experience gcc-4.2
> produces slightly faster code for Ada than llvm-gcc-4.2 does.  Given
> that LLVM manages to produce code that comes close to gcc while being
> much simpler than gcc and easier to improve, I expect it will overtake
> gcc soon.  In fact I haven't even started working on Ada specific
> optimizer improvements yet: I've been concentrating on correctness.
>
> > The difficult task, as you already know, will be to keep the Ada
> > front-ends in both compilers in sync. I wish you good luck with that!
>
> It's not yet clear to me whether I should backport the gcc-4.3 Ada
> front-end to llvm-gcc-4.2, or start working on llvm-gcc-4.3.  For the
> moment I'm just working on improving the correctness and robustness
> of llvm-gcc-4.2.

This is wonderful, Duncan.  I agree that this is a huge deal for Ada.
I only learned about LLVM a few months ago.  When I did, I filed and
Ada LLVM compiler in my drawer of Utopian ideas.  Thanks for making it
true!

I assume that due to the link-time optimization capability that
inlining among packages will be handled naturally.  GNAT-gcc can't do
that, right?  This alone ought to be a big deal as accessor/setter
conventions are leading to programs filled with tiny procedures and
functions.



  reply	other threads:[~2008-03-27  0:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-23 22:05 Announcement: GNAT ported to LLVM baldrick
2008-03-24  9:25 ` Samuel Tardieu
2008-03-24 18:09   ` baldrick
2008-03-27  0:41     ` Gene [this message]
2008-03-27  8:27       ` baldrick
2008-03-27 12:43         ` Alex R. Mosteo
2008-03-27 15:22           ` baldrick
2008-03-27 17:25             ` Alex R. Mosteo
2008-04-11 13:37 ` baldrick
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox