[Openmp-commits] [PATCH] D142297: [Clang][OpenMP] Find the type `omp_allocator_handle_t` from identifier table

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 24 17:21:45 PST 2023


tianshilei1992 marked an inline comment as done.
tianshilei1992 added inline comments.


================
Comment at: clang/test/OpenMP/target_uses_allocators.c:108
 // CHECK-NEXT: store i32 %[[#R1]], ptr %.x..void.addr, align 4
-// CHECK-NEXT: call void @__kmpc_free(i32 %[[#R0]], ptr %.x..void.addr, ptr inttoptr (i64 8 to ptr))
\ No newline at end of file
+// CHECK-NEXT: call void @__kmpc_free(i32 %[[#R0]], ptr %.x..void.addr, ptr inttoptr (i64 8 to ptr))
----------------
ABataev wrote:
> ABataev wrote:
> > Would be good to have a test that shows the difference.
> A unit test with the difference? This test does not show anything.
I added a front end test above. It shows the key difference when call `__kmpc_alloc`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142297/new/

https://reviews.llvm.org/D142297



More information about the Openmp-commits mailing list