[flang-commits] [flang] [OpenMP][Flang] Add "IsolatedFromAbove" and "OutlineableOpenMPOpInterface" trait to omp.target (PR #67164)
Akash Banerjee via flang-commits
flang-commits at lists.llvm.org
Wed Sep 27 10:06:44 PDT 2023
================
@@ -17,7 +17,7 @@ subroutine sub_parallel()
!CHECK-LABEL: sub_target
subroutine sub_target()
print *, x
-!CHECK: omp.target {
+!CHECK: omp.target
----------------
TIFitis wrote:
The print operation inside the region leads to an implicit variable being captured.
As a result the check should be updated to `omp.target map_entries(%...`, but its unimportant to check for the `map_entry` here so we are only checking for the presence of `omp.target`.
https://github.com/llvm/llvm-project/pull/67164
More information about the flang-commits
mailing list