[flang-commits] [flang] [flang][OpenMP] Add alias analysis for omp	private (PR #113566)
    Dominik Adamski via flang-commits 
    flang-commits at lists.llvm.org
       
    Fri Oct 25 06:02:02 PDT 2024
    
    
  
================
@@ -372,6 +372,17 @@ getAttrsFromVariable(fir::FortranVariableOpInterface var) {
   return attrs;
 }
 
+static std::optional<omp::BlockArgOpenMPOpInterface>
+getOpenMPBlockArgInterface(Operation *op) {
+  std::optional<omp::BlockArgOpenMPOpInterface> blockArgOpenMPOpInterface;
+  if (!op)
+    return blockArgOpenMPOpInterface;
+  if (llvm::isa<omp::TargetOp>(op) || llvm::isa<omp::ParallelOp>(op)) {
----------------
DominikAdamski wrote:
Fixed.
https://github.com/llvm/llvm-project/pull/113566
    
    
More information about the flang-commits
mailing list