[all-commits] [llvm/llvm-project] 27f777: [Flang][OpenMP] Skip DSA for canonical loops (#150...
Michael Kruse via All-commits
all-commits at lists.llvm.org
Wed Jul 30 00:21:05 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 27f777e9c06daeb03efad9230fe080df2a3a94c5
https://github.com/llvm/llvm-project/commit/27f777e9c06daeb03efad9230fe080df2a3a94c5
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2025-07-30 (Wed, 30 Jul 2025)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/test/Lower/OpenMP/unroll-heuristic01.f90
M flang/test/Lower/OpenMP/unroll-heuristic02.f90
A flang/test/Lower/OpenMP/unroll-heuristic03.f90
Log Message:
-----------
[Flang][OpenMP] Skip DSA for canonical loops (#150593)
OpenMP loop transformations to not have data-sharing attributes and do
not explicitly privatize the loop variable. The DataSharingProcessor was
still used in #144785 because `createAndSetPrivatizedLoopVar` expected
it.
We skip that function and directly write to the loop variable. If the
loop variable is implicitly or explicitly privatized, it will be due to
surrounding OpenMP constructs such as `parallel`.
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