[flang-dev] Compiler explorer now supports LLVM Flang

Timothy Keith via flang-dev flang-dev at lists.llvm.org
Wed Jul 15 12:43:02 PDT 2020


Adding "-intrinsic-module-directory <build>/include/flang" would be useful so that the intrinsic modules are available.

Tim

´╗┐On 7/15/20, 12:30 PM, "flang-dev on behalf of sameeran joshi via flang-dev" <flang-dev-bounces at lists.llvm.org on behalf of flang-dev at lists.llvm.org> wrote:

    External email: Use caution opening links or attachments


    Hi all,

    People here might be well aware of https://godbolt.org/ - compiler
    explorer(CE) where you can run compilers interactively from your web
    browser.

    It now supports LLVM Flang(as an experimental frontend)!
    You can try it here - https://godbolt.org/z/n7v8ze

    - This can be helpful to have comparison/validating LLVM Flang with
    other production level compilers and as well help in reporting issues
    in parsing/semantic checks both in language constructs and OpenMP
    constructs.

    - By default -fparse-only and bin/f18 executable was added by CE team
    to see the initial working.
    Is there some other flag we should enable by default (may be till
    semantic analysis only)?
    I am trying to collect more data from this mail so that we add the needed flags.

    - The FIR branch would help in usage of online compiler to developers,
    people interested in learning FIR/MLIR representations.

    I am trying to gather the interest of folks in community to see if they
    would like to see FIR branch(fir-dev) compiler into the CE so that they see FIR
    generated for Fortran code?
    Also, if there are some practical challenges (as it's a WIP branch and
    user might see llvm_unreachable if some code is not implemented) in
    adding the other branch, I would be interested in knowing that as
    well.

    Does anyone have any thoughts on this?

    ~/Sameeran
    _______________________________________________
    flang-dev mailing list
    flang-dev at lists.llvm.org
    https://lists.llvm.org/cgi-bin/mailman/listinfo/flang-dev



More information about the flang-dev mailing list