[all-commits] [llvm/llvm-project] aa8af0: [flang] Switch lowering to use the HLFIR step by d...

jeanPerier via All-commits all-commits at lists.llvm.org
Wed Nov 15 01:00:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa8af04d0c5bffd43500dd635b8d25c7bd191afc
      https://github.com/llvm/llvm-project/commit/aa8af04d0c5bffd43500dd635b8d25c7bd191afc
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M flang/include/flang/Lower/LoweringOptions.def
    M flang/test/HLFIR/hlfir-flags.f90
    M flang/tools/bbc/bbc.cpp

  Log Message:
  -----------
  [flang] Switch lowering to use the HLFIR step by default (#72090)

Patch 3/3 of the transition step 1 described in

https://discourse.llvm.org/t/rfc-enabling-the-hlfir-lowering-by-default/72778/7

This patch changes bbc and flang-new driver to use HLFIR lowering by
default.

`-hlfir=false` can be used with bbc and `-flang-deprecated-no-hlfir`
with flang-new to get the previous default lowering behavior, but these
options will only be available for a limited period of time.

If any user needs these options to workaround bugs, they should open an
issue against flang in llvm github repo so that the regression can be
fixed in HLFIR.




More information about the All-commits mailing list