[Mlir-commits] [openmp] [mlir] [flang] [Flang][OpenMP] Remove use of non reference values from MapInfoOp (PR #72444)
    Akash Banerjee 
    llvmlistbot at llvm.org
       
    Thu Nov 16 07:39:07 PST 2023
    
    
  
================
@@ -14,14 +14,14 @@ program main
     integer :: i = 1
     integer :: j = 11
 
-  !$omp target map(tofrom:x, i, j)
-     do while (i <= j)
+  !$omp target
+     do i = 1, j
         x(i) = i;
         i = i + 1
----------------
TIFitis wrote:
Sorry, I changed it in my local test and forgot to update the actual test. Fixed now!
https://github.com/llvm/llvm-project/pull/72444
    
    
More information about the Mlir-commits
mailing list