summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/test/ompt/parallel
diff options
context:
space:
mode:
authorJonas Hahnfeld <hahnjo@hahnjo.de>2019-07-22 18:46:02 +0000
committerJonas Hahnfeld <hahnjo@hahnjo.de>2019-07-22 18:46:02 +0000
commita2748c74d68bd3748dcf626d828ee50a19cd1324 (patch)
tree706ff54cc15fc7da500f0b7f9144faf0253d36b0 /openmp/runtime/test/ompt/parallel
parent06b8fe8d030e739367327093768c36e0e9dd2217 (diff)
downloadbcm5719-llvm-a2748c74d68bd3748dcf626d828ee50a19cd1324.tar.gz
bcm5719-llvm-a2748c74d68bd3748dcf626d828ee50a19cd1324.zip
[OMPT] Cleanup reset of exit_frame pointer
This is done at call-site and does not need to be handled in __kmp_invoke_microtask. It was already absent from the x86 and x86_64 assembly, this patch removes it from the generic implementation in z_Linux_util.cpp and adds documentation for AArch64 and PPC64 that it's actually not needed. I can't test on these architectures, so I don't want to change the code just because it looks right :) While at it, rename some variables for consistency and add a check in test/ompt/parallel/normal.c that the pointer was reset before entering the barrier. Differential Revision: https://reviews.llvm.org/D64442 llvm-svn: 366721
Diffstat (limited to 'openmp/runtime/test/ompt/parallel')
-rw-r--r--openmp/runtime/test/ompt/parallel/normal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openmp/runtime/test/ompt/parallel/normal.c b/openmp/runtime/test/ompt/parallel/normal.c
index 2cc9ce11807..011bfacb130 100644
--- a/openmp/runtime/test/ompt/parallel/normal.c
+++ b/openmp/runtime/test/ompt/parallel/normal.c
@@ -64,6 +64,9 @@ int main() {
// THREADS: {{^}}[[MASTER_ID]]: ompt_event_barrier_begin
// THREADS-SAME: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK_ID]]
// THREADS-SAME: codeptr_ra=[[RETURN_ADDRESS]]{{[0-f][0-f]}}
+ // THREADS: {{^}}[[MASTER_ID]]: task level 0
+ // THREADS-SAME: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK_ID]]
+ // THREADS-SAME: exit_frame=[[NULL]], reenter_frame=[[NULL]]
// THREADS: {{^}}[[MASTER_ID]]: ompt_event_barrier_end
// parallel_id is 0 because the region ended in the barrier!
// THREADS-SAME: parallel_id=0, task_id=[[IMPLICIT_TASK_ID]]
OpenPOWER on IntegriCloud