From: Raghu Maddhipatla Date: Mon, 15 May 2023 23:45:20 +0000 (-0500) Subject: [Flang][OpenMP][Semantics] Added missing HostAssoc check for use_device_ptr test. X-Git-Tag: upstream/17.0.6~8297 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=608fe0b032d96301177b3a37d2fd3678f8832c12;p=platform%2Fupstream%2Fllvm.git [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 --- diff --git a/flang/test/Semantics/OpenMP/use_device_ptr.f90 b/flang/test/Semantics/OpenMP/use_device_ptr.f90 index 738904b..08c25ed 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