[Mlir-commits] [openmp] [flang] [mlir] [Flang][OpenMP] Remove use of non reference values from MapInfoOp (PR #72444)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Nov 15 15:06:31 PST 2023


================
@@ -19,8 +19,8 @@ program main
      sp(5) = 10
   !$omp end target
 
-   ! print *, sp(1)
-   ! print *, sp(5)
+   print *, sp(1)
+   print *, sp(5)
----------------
agozillon wrote:

Woops, thank you for catching this! 

Would it be possible to add a variation of one of the other tests to use a do loop? Or just convert one of the existing ones to use a do loop, instead of the awkward while loop that was in place to work around lack of implicit capture previously! 

https://github.com/llvm/llvm-project/pull/72444


More information about the Mlir-commits mailing list