[all-commits] [llvm/llvm-project] 6dacc3: [OpenACC] Properly ignore side-effects in clause a...
Erich Keane via All-commits
all-commits at lists.llvm.org
Tue Sep 10 13:11:16 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6dacc382f5158b28550c25cd452848f4ab3ecd63
https://github.com/llvm/llvm-project/commit/6dacc382f5158b28550c25cd452848f4ab3ecd63
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-09-10 (Tue, 10 Sep 2024)
Changed paths:
M clang/lib/Sema/SemaOpenACC.cpp
M clang/test/SemaOpenACC/compute-construct-ast.cpp
Log Message:
-----------
[OpenACC] Properly ignore side-effects in clause arguments
The OpenACC standard makes depending on side effects to be effectively
UB, so this patch ensures we handle them reaonably by making it a potentially
evaluated context, and ignoring cleanups.
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