• Fully integrating the Flang Fortran compiler with standard MLIR

    From John R Levine@johnl@taugh.com to comp.compilers on Mon Sep 30 18:10:06 2024
    From Newsgroup: comp.compilers

    The authors modified Flang, the LLVM Fortran compiler, to use MLIR rather
    than its private IR, and found that the code got better, but still not as
    good as the Cray compiler.

    https://arxiv.org/abs/2409.18824

    Regards,
    John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY
    Please consider the environment before reading this e-mail. https://jl.ly
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Steven G. Kargl@sgk@REMOVEtroutmask.apl.washington.edu to comp.compilers on Thu Oct 3 04:23:14 2024
    From Newsgroup: comp.compilers

    On Mon, 30 Sep 2024 18:10:06 +0100, John R Levine wrote:

    The authors modified Flang, the LLVM Fortran compiler, to use MLIR rather than its private IR, and found that the code got better, but still not as good as the Cray compiler.


    The paper, like many involving comparisons/benchmarks,
    is IMHO flawed. The author does not give the options
    used with the various compilers. The author also used
    a 3 year old version of gfortran from 2021 and compares
    it to 2023 versions of flang. I cannot find the release
    date for Cray Fortran 15.0.0.

    PS: The Fortran compiler available from LLVM github is
    named flang-new. There is no compiler named flang.

    --
    steve
    [In case it wasn't clear, I'm posting links to these draft papers because
    they look interesting, not necessarily because I think they are brilliant
    and insightful. Asssessing those is for all you guys. -John]
    --- Synchronet 3.21b-Linux NewsLink 1.2