[all-commits] [llvm/llvm-project] 8e279e: [flang] `do concurrent`: fix reduction symbol reso...
Kareem Ergawy via All-commits
all-commits at lists.llvm.org
Tue Aug 26 22:11:38 PDT 2025
Branch: refs/heads/users/ergawy/dc_conv_reduction_sym_resultion
Home: https://github.com/llvm/llvm-project
Commit: 8e279e0feb33d37c129f0566062e91c1d3968c7c
https://github.com/llvm/llvm-project/commit/8e279e0feb33d37c129f0566062e91c1d3968c7c
Author: ergawy <kareem.ergawy at amd.com>
Date: 2025-08-26 (Tue, 26 Aug 2025)
Changed paths:
M flang/include/flang/Optimizer/OpenMP/Passes.td
M flang/lib/Optimizer/OpenMP/DoConcurrentConversion.cpp
A flang/test/Transforms/DoConcurrent/reduction_symbol_resultion.f90
Log Message:
-----------
[flang] `do concurrent`: fix reduction symbol resolution when mapping to OpenMP
Fixes 155273
This PR introduces 2 changes:
1. The `do concurrent` to OpenMP pass is now a module pass rather than a
function pass.
2. Reduction ops are looked up in the parent module before being
created.
The benefit of using a module pass is that the same reduction operation
can be used across multiple functions if the reduction type matches.
Commit: ef29557e33199b42b423c53858dc9e8ece46109b
https://github.com/llvm/llvm-project/commit/ef29557e33199b42b423c53858dc9e8ece46109b
Author: ergawy <kareem.ergawy at amd.com>
Date: 2025-08-27 (Wed, 27 Aug 2025)
Changed paths:
M flang/lib/Optimizer/OpenMP/DoConcurrentConversion.cpp
Log Message:
-----------
cache symbol table
Compare: https://github.com/llvm/llvm-project/compare/084374e7156d...ef29557e3319
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