Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git] / openmp / runtime / test / ompt / misc / finalize_tool.c
blob54709aa5820a63f240b1fd7cab0b1914c911c703
1 // RUN: %libomp-compile-and-run | FileCheck %s
2 // REQUIRES: ompt
3 #include "callback.h"
4 #include "omp_testsuite.h"
6 int main() {
7 go_parallel_nthreads(2);
9 printf("Before ompt_finalize_tool\n");
10 ompt_finalize_tool();
11 printf("After ompt_finalize_tool\n");
13 return get_exit_value();
16 // CHECK: 0: NULL_POINTER=[[NULL:.*$]]
17 // CHECK: {{^}}[[THREAD_ID:[0-9]+]]: ompt_event_thread_begin:
18 // CHECK-SAME: thread_type=ompt_thread_initial=1
20 // CHECK: {{^}}[[THREAD_ID]]: ompt_event_parallel_begin
21 // CHECK: {{^}}[[THREAD_ID]]: ompt_event_parallel_end
23 // CHECK: {{^}}Before ompt_finalize_tool
25 // CHECK: {{^}}[[THREAD_ID]]: ompt_event_thread_end: thread_id=[[THREAD_ID]]
26 // CHECK: 0: ompt_event_runtime_shutdown
28 // CHECK: {{^}}After ompt_finalize_tool