[all-commits] [llvm/llvm-project] b0181b: [OpenACC] Implement Duffs-Device restriction for C...
Erich Keane via All-commits
all-commits at lists.llvm.org
Fri Mar 1 07:33:45 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b0181be36cace3460e4ec5d0d11ecbf49484cc55
https://github.com/llvm/llvm-project/commit/b0181be36cace3460e4ec5d0d11ecbf49484cc55
Author: Erich Keane <ekeane at nvidia.com>
Date: 2024-03-01 (Fri, 01 Mar 2024)
Changed paths:
M clang/include/clang/Sema/Scope.h
M clang/lib/Sema/SemaStmt.cpp
M clang/test/SemaOpenACC/no-branch-in-out.c
M clang/test/SemaOpenACC/no-branch-in-out.cpp
Log Message:
-----------
[OpenACC] Implement Duffs-Device restriction for Compute Constructs (#83460)
Like the last few patches, branching in/out of a compute construct is
not valid. This patch implements checking to ensure that a 'case' or
'default' statement cannot jump into a Compute Construct (in the style
of a duff's device!).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list