HomePhabricator

[OPENMP]Fix PR47621: Variable used by task inside a template function is not…

Authored by ABataev on Sep 24 2020, 11:46 AM.

Description

[OPENMP]Fix PR47621: Variable used by task inside a template function is not made firstprivate by default

Need to fix a check for the variable if it is declared in the inner
OpenMP region to be able to firstprivatize it.

Reviewed By: jdoerfert

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