[PATCH] D133802: [OpenMP] Remove simplified device runtime handling
Johannes Doerfert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 13 13:01:45 PDT 2022
jdoerfert added a comment.
Remove the option and let's also remove the device flag too while we are at it.
================
Comment at: clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp:76
CGOpenMPRuntimeGPU::ExecutionMode &ExecMode;
bool SavedRuntimeMode = false;
----------------
Remove
================
Comment at: clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp:86
/// Constructor for SPMD mode.
- ExecutionRuntimeModesRAII(CGOpenMPRuntimeGPU::ExecutionMode &ExecMode,
- bool &RuntimeMode, bool FullRuntimeMode)
- : ExecMode(ExecMode), RuntimeMode(&RuntimeMode) {
+ ExecutionRuntimeModesRAII(CGOpenMPRuntimeGPU::ExecutionMode &ExecMode, bool)
+ : ExecMode(ExecMode) {
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133802/new/
https://reviews.llvm.org/D133802
More information about the cfe-commits
mailing list