[all-commits] [llvm/llvm-project] b6cdce: [flang] Erase `fir.local` ops before lowering `fir...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Wed Jun 11 04:41:16 PDT 2025


  Branch: refs/heads/users/ergawy/drop_local_before_llvm_lowering
  Home:   https://github.com/llvm/llvm-project
  Commit: b6cdce86b8e62968a82943db776cd06ef68cff80
      https://github.com/llvm/llvm-project/commit/b6cdce86b8e62968a82943db776cd06ef68cff80
  Author: ergawy <kareem.ergawy at amd.com>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    A flang/test/Fir/local.fir

  Log Message:
  -----------
  [flang] Erase `fir.local` ops before lowering `fir` to `llvm`

`fir.local` ops are not supposed to have any uses at this point (i.e. during
lowering to LLVM). In case of serialization, the `fir.do_concurrent` users are
expected to have been lowered to `fir.do_loop` nests. In case of parallelization,
the `fir.do_concurrent` users are expected to have been lowered to the target
parallel model (e.g. OpenMP).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list