Pith. sign in

REVIEW 1 cited by

Fully integrating the Flang Fortran compiler with standard MLIR

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2409.18824 v1 pith:DO3DXBDL submitted 2024-09-27 cs.DC cs.PL

classification cs.DCcs.PL
keywords flangfortranmlircompilerperformancestandardbenchmarkscommunity
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Fortran is the lingua franca of HPC code development and as such it is crucial that we as a community have open source Fortran compilers capable of generating high performance executables. Flang is LLVM's Fortran compiler and leverages MLIR which is a reusable compiler infrastructure which, as part of LLVM, has become popular in recent years. However, whilst Flang leverages MLIR it does not fully integrate with it and instead provides bespoke translation and optimisation passes to target LLVM-IR. In this paper we first explore the performance of Flang against other compilers popular in HPC for a range of benchmarks before describing a mapping between Fortran and standard MLIR, exploring the performance of this. The result of this work is an up to three times speed up compared with Flang's existing approach across the benchmarks and experiments run, demonstrating that the Flang community should seriously consider leveraging standard MLIR.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Seamless acceleration of Fortran intrinsics via AMD AI engines

    cs.DC 2025-02 conditional novelty 6.0 of 10

    A compiler-based system automatically offloads Fortran intrinsic calls to AMD AI engines without source changes, with speedups for some workloads and important accuracy caveats.

Pith tools