[all-commits] [llvm/llvm-project] 282e47: [flang] Erase `fir.local` ops before lowering `fir...
Kareem Ergawy via All-commits
all-commits at lists.llvm.org
Wed Jun 11 20:59:16 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 282e471018d234f78b0990100834532389877519
https://github.com/llvm/llvm-project/commit/282e471018d234f78b0990100834532389877519
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2025-06-12 (Thu, 12 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` (#143687)
`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).
This hopefully resolved a build issue introduced by
https://github.com/llvm/llvm-project/pull/142567 (see for example:
https://lab.llvm.org/buildbot/#/builders/199/builds/4009).
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