[llvm-dev] Flang landing in the monorepo - next Monday!

Eric Christopher via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 8 17:52:31 PST 2020

On Wed, Jan 8, 2020 at 5:42 PM Joerg Sonnenberger via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> On Wed, Jan 08, 2020 at 05:35:44PM -0800, Eric Christopher via llvm-dev
> wrote:
> > As far as the current use in the clang driver: Honestly I don't think you
> > should be using the clang driver and had I seen I probably wouldn't have
> > accepted those patches either. I think it would be better off to turn
> parts
> > of the driver you might need into a separable library rather than include
> > fortran support into a "c based languages" driver and will probably try
> to
> > dig up that patch set and comment.
> I disagree on this part quite a bit. First of all, there is quite a bit
> code in the wild that expects at least basic support in the "gcc"
> frontend for handling Fortran. Additionally, there is a very significant
> overlap in the platform handling and little Fortran specific logic
> assuming that we don't end up with hundreds of tuning options in the
> frontend. That was the biggest concern for me with the first flang
> patches to the clang driver: insane amount of fine-tuning flags and
> magic number mappings.
This is an absolutely fair response, but I think the answer there is making
a lot of the clang driver a library and not having clang support fortran


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200108/2a695460/attachment.html>

More information about the llvm-dev mailing list