[flang-commits] [flang] 608fe0b - [Flang][OpenMP][Semantics] Added missing HostAssoc check for use_device_ptr test.

Raghu Maddhipatla via flang-commits flang-commits at lists.llvm.org
Tue May 16 10:42:19 PDT 2023


Author: Raghu Maddhipatla
Date: 2023-05-16T12:42:13-05:00
New Revision: 608fe0b032d96301177b3a37d2fd3678f8832c12

URL: https://github.com/llvm/llvm-project/commit/608fe0b032d96301177b3a37d2fd3678f8832c12
DIFF: https://github.com/llvm/llvm-project/commit/608fe0b032d96301177b3a37d2fd3678f8832c12.diff

LOG: [Flang][OpenMP][Semantics] Added missing HostAssoc check for use_device_ptr test.

Missed adding this check in previous commit so adding it through separate commit.

Reviewed By: raghavendhra

Differential Revision: https://reviews.llvm.org/D150626

Added: 
    

Modified: 
    flang/test/Semantics/OpenMP/use_device_ptr.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Semantics/OpenMP/use_device_ptr.f90 b/flang/test/Semantics/OpenMP/use_device_ptr.f90
index 738904bbab64c..08c25ed592a2c 100644
--- a/flang/test/Semantics/OpenMP/use_device_ptr.f90
+++ b/flang/test/Semantics/OpenMP/use_device_ptr.f90
@@ -12,7 +12,7 @@ subroutine omp_target_data
    integer, pointer :: arrayB
    a = 1
    !$omp target data map(tofrom: a, arrayB) use_device_ptr(b)
-   !CHECK: b (OmpUseDevicePtr)
+   !CHECK: b (OmpUseDevicePtr): HostAssoc
       allocate(arrayB)
       call c_f_pointer(b, arrayB)
       a = arrayB


        


More information about the flang-commits mailing list