[PATCH] D69204: [OpenMP 5.0] - Extend defaultmap
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 14 13:38:42 PST 2019
ABataev added inline comments.
================
Comment at: clang/test/OpenMP/target_defaultmap_codegen.cpp:1538-1546
+void declare_target_link(float A)
+{
+ // CK26: [[AADDR:%.+]] = alloca float*
+ // CK26: store float* [[A:%.+]], float** [[AADDR]]
+ // CK26: [[ZERO:%.+]] = load float*, float** [[AADDR]]
+ // CK26: [[ONE:%.+]] = load float, float* [[ZERO]]
+#pragma omp target defaultmap(none:aggregate) map(A)
----------------
What does this test check? It is not the test for declare target link. Also, A is calar and defaultmap is for aggregates.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69204/new/
https://reviews.llvm.org/D69204
More information about the cfe-commits
mailing list