[PATCH] D150608: [clang] Convert several OpenMP tests to opaque pointers
Sergei Barannikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 15 13:38:34 PDT 2023
barannikov88 added inline comments.
================
Comment at: clang/test/OpenMP/task_firstprivate_codegen.cpp:264
-// CHECK: alloca i32*,
-// CHECK: [[PRIV_T_VAR_ADDR:%.+]] = alloca i32*,
-// CHECK: [[PRIV_S_ARR_ADDR:%.+]] = alloca [2 x [[S_DOUBLE_TY]]]*,
-// CHECK: [[PRIV_VEC_ADDR:%.+]] = alloca [2 x i32]*,
-// CHECK: [[PRIV_SIVAR_ADDR:%.+]] = alloca i32*,
-// CHECK: [[PRIV_VAR_ADDR:%.+]] = alloca [[S_DOUBLE_TY]]*,
-// CHECK: store void (i8*, ...)* bitcast (void ([[PRIVATES_MAIN_TY]]*, i32**, [2 x [[S_DOUBLE_TY]]]**, [2 x i32]**, i32**, [[S_DOUBLE_TY]]**)* [[PRIVATES_MAP_FN]] to void (i8*, ...)*), void (i8*, ...)** [[MAP_FN_ADDR:%.+]],
-// CHECK: [[MAP_FN:%.+]] = load void (i8*, ...)*, void (i8*, ...)** [[MAP_FN_ADDR]],
+// CHECK: %__context
+// CHECK: [[PRIV_T_VAR_ADDR:%.+]] = alloca ptr,
----------------
There is a bunch of `alloca ptr,` before the next CHECK lines. The exect number differs between tests.
I couldn't find a better solution than to rely on the name of one of them.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150608/new/
https://reviews.llvm.org/D150608
More information about the cfe-commits
mailing list