[all-commits] [llvm/llvm-project] 7075c0: [OPENMP]Fix compiler crash for target data directi...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Jul 13 07:55:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7075c056e91bf95b111716a9722d10e1a61253bb
      https://github.com/llvm/llvm-project/commit/7075c056e91bf95b111716a9722d10e1a61253bb
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/test/OpenMP/target_data_codegen.cpp

  Log Message:
  -----------
  [OPENMP]Fix compiler crash for target data directive without actual target codegen.

Summary:
Need to privatize addresses of the captured variables when trying to
emit the body of the target data directive in no target codegen mode.

Reviewers: jdoerfert

Subscribers: yaxunl, guansong, cfe-commits, sstefan1, caomhin

Tags: #clang

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




More information about the All-commits mailing list