[all-commits] [llvm/llvm-project] f62795: [OPENMP]Fix PR52117: Crash caused by target region...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Fri Dec 3 07:01:52 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6279562dae456f6c58d5f7484ba4bae5c2071fa
      https://github.com/llvm/llvm-project/commit/f6279562dae456f6c58d5f7484ba4bae5c2071fa
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-12-03 (Fri, 03 Dec 2021)

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/Analysis/cfg-openmp.cpp
    A clang/test/OpenMP/task_target_device_codegen.c
    M clang/test/OpenMP/taskloop_codegen.cpp

  Log Message:
  -----------
  [OPENMP]Fix PR52117: Crash caused by target region inside of task construct.

Need to do the analysis of the captured expressions in the clauses.
Previously the compiler ignored them and it may lead to a compiler crash
trying to get the address of the mapped variables.

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




More information about the All-commits mailing list