[all-commits] [llvm/llvm-project] 99f6ff: [Flang][OpenMP] Use InsertionGuard in DataSharingP...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Thu Jul 4 05:13:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 99f6ff9c0b5f2c009878c2ad5607bc7a3086956b
https://github.com/llvm/llvm-project/commit/99f6ff9c0b5f2c009878c2ad5607bc7a3086956b
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-07-04 (Thu, 04 Jul 2024)
Changed paths:
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
Log Message:
-----------
[Flang][OpenMP] Use InsertionGuard in DataSharingProcessor (#97562)
This patch removes the introduction of `fir.undef` operations as a way
to keep track of insertion points inside of the `DataSharingProcessor`,
and it replaces them with an `InsertionGuard` to avoid creating such
operations inside of loop wrappers.
Leaving any `fir.undef` operation inside of a loop wrapper would result
in a verifier error, since they enforce strict requirements on the
contents of their code regions.
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