HomePhabricator

[OpenMP][Stats] Fix stats gathering for distribute and team clause

Authored by jlpeyton on Apr 3 2019, 11:53 AM.

Description

[OpenMP][Stats] Fix stats gathering for distribute and team clause

The distribute clause needs an explicit push of a timer. The teams
clause needs a timer added and also, similarly to parallel, exchanged
with the serial timer when encountered so that serial regions are
counted properly.

Differential Revision: https://reviews.llvm.org/D59801

llvm-svn: 357621

Details