[all-commits] [llvm/llvm-project] b283d5: [openmp] Emit deferred diag only when device compi...
Wei Wang via All-commits
all-commits at lists.llvm.org
Mon Oct 25 11:19:37 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b283d55c90dd0b9495c9e91a76c2c62e587eb9b6
https://github.com/llvm/llvm-project/commit/b283d55c90dd0b9495c9e91a76c2c62e587eb9b6
Author: Wei Wang <apollo.mobility at gmail.com>
Date: 2021-10-25 (Mon, 25 Oct 2021)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
M clang/test/OpenMP/declare_target_messages.cpp
M clang/test/SemaCUDA/openmp-target.cu
Log Message:
-----------
[openmp] Emit deferred diag only when device compilation presents
There is no need to check for deferred diag when device compilation or target is
not given. This results in considerable build time improvement in some cases.
Differential Revision: https://reviews.llvm.org/D109175
More information about the All-commits
mailing list