[llvm-dev] RFC for f18+runtimes in LLVM

Bruno Ricci via llvm-dev llvm-dev at lists.llvm.org
Fri Mar 1 09:47:05 PST 2019



On 01/03/2019 17:26, Troy Johnson via llvm-dev wrote:
> This RFC started a good discussion and I’d like to hear responses from its author
> to all of the points that have been made so far.
> 
>  
> 
> FWIW, I’m also in favor of reusing as much from Clang as practical.  In fact, with> the combined repo now, it might make sense to factor out some common front end code
> that both a Clang and any Flang (f18 or Fort) would use, for maintainability as well
> as to avoid the perceived strangeness of a Fortran front end relying on a C front end.

What part of the frontend do you think could be shared ? At least the following seems
to be re-usable:

- The diagnostics infrastructure
- IdentifierTable
- The file manager and source location infrastructure

Bruno


More information about the llvm-dev mailing list