[all-commits] [llvm/llvm-project] 0bdcd9: [SYCL][OpenMP] Implement thread-local storage rest...
Mariya Podchishchaeva via All-commits
all-commits at lists.llvm.org
Wed Jun 17 04:38:16 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0bdcd95bf20f159a2512aff1ef032bec52039bf6
https://github.com/llvm/llvm-project/commit/0bdcd95bf20f159a2512aff1ef032bec52039bf6
Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaExpr.cpp
A clang/test/OpenMP/nvptx_prohibit_thread_local.cpp
M clang/test/OpenMP/nvptx_target_codegen.cpp
A clang/test/SemaSYCL/prohibit-thread-local.cpp
Log Message:
-----------
[SYCL][OpenMP] Implement thread-local storage restriction
Summary:
SYCL and OpenMP prohibits thread local storage in device code,
so this commit ensures that error is emitted for device code and not
emitted for host code when host target supports it.
Reviewers: jdoerfert, erichkeane, bader
Reviewed By: jdoerfert, erichkeane
Subscribers: guansong, riccibruno, ABataev, yaxunl, ebevhan, Anastasia, sstefan1, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D81641
More information about the All-commits
mailing list