[llvm-branch-commits] [flang] [flang][OpenMP] Convert DataSharingProcessor to omp::Clause (PR #81629)
Krzysztof Parzyszek via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Mar 5 05:05:07 PST 2024
================
@@ -135,138 +133,135 @@ void DataSharingProcessor::insertBarrier() {
void DataSharingProcessor::insertLastPrivateCompare(mlir::Operation *op) {
bool cmpCreated = false;
mlir::OpBuilder::InsertPoint localInsPt = firOpBuilder.saveInsertionPoint();
- for (const Fortran::parser::OmpClause &clause : opClauseList.v) {
----------------
kparzysz wrote:
The code functionality is unchanged. One reason for the seemingly large differences in the diff is that I replaced the `if (get_if<LastPrivate>)` with `if (!get_if<Lastprivate>) continue;` to reduce indentation.
https://github.com/llvm/llvm-project/pull/81629
More information about the llvm-branch-commits
mailing list