[Mlir-commits] [mlir] [flang] [WIP] Delayed privatization. (PR #79862)
Leandro Lupori
llvmlistbot at llvm.org
Thu Feb 1 11:40:42 PST 2024
================
@@ -496,8 +513,46 @@ void DataSharingProcessor::privatize() {
copyFirstPrivateSymbol(&*mem);
}
} else {
- cloneSymbol(sym);
- copyFirstPrivateSymbol(sym);
+ if (useDelayedPrivatizationWhenPossible) {
----------------
luporl wrote:
Is support for delayed privatization planned for common blocks too (in the if branch above)?
If so, then this block of code could be moved to a separate function, to be reused by the common blocks path.
https://github.com/llvm/llvm-project/pull/79862
More information about the Mlir-commits
mailing list