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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D133802:... Jose Manuel Monsalve Diaz via Phabricator via cfe-commits
    • [PATCH] D13... Joseph Huber via Phabricator via cfe-commits
    • [PATCH] D13... Johannes Doerfert via Phabricator via cfe-commits
    • [PATCH] D13... Jose Manuel Monsalve Diaz via Phabricator via cfe-commits
    • [PATCH] D13... Johannes Doerfert via Phabricator via cfe-commits
    • [PATCH] D13... Joseph Huber via Phabricator via cfe-commits
    • [PATCH] D13... Johannes Doerfert via Phabricator via cfe-commits
    • [PATCH] D13... Joseph Huber via Phabricator via cfe-commits

Reply via email to