[llvm-dev] Flang landing in the monorepo - next Monday!
Joerg Sonnenberger via llvm-dev
llvm-dev at lists.llvm.org
Wed Jan 8 17:42:08 PST 2020
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.
Joerg
More information about the llvm-dev
mailing list