Fortran and LLVM

Dear All,

Is there a recommended Fortran frontend for LLVM? We have a few projects that are using the SPEC 2017 benchmarks, and I'd like to know if there's a Fortran front-end that we can use.

Thanks in advance,

John Criswell

Flang is the only Fortran frontend I know of.

Dear All,

Is there a recommended Fortran frontend for LLVM? We have a few
projects that are using the SPEC 2017 benchmarks, and I'd like to know
if there's a Fortran front-end that we can use.

Flang should work: http://flang-compiler.org

-Hal

Hello John,

if I remember correctly, SPEC 2017 benchmarks should contain a configuration file designed for LLVM. This file relies on Clang and Clang++ for C/C++, while it leverages GFortran with DragonEgg (https://dragonegg.llvm.org/) for Fortran. Said that, you can customize the configuration file if you prefer to use another frontend, like Flang, as someone here suggested.

Best regards

Emanuele Del Sozzo

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.