[clang] [llvm] Assume (PR #97535)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 10 07:39:52 PDT 2024


================
@@ -760,6 +760,9 @@ void clang::getOpenMPCaptureRegions(
     case OMPD_parallel:
       CaptureRegions.push_back(OMPD_parallel);
       break;
+    case OMPD_assume:
+      CaptureRegions.push_back(OMPD_unknown);
+      break;
----------------
alexey-bataev wrote:

Why? We usually add OMPD_unknown to the directives that do nit require outlining to a standalone function, here should be the same behavior.

https://github.com/llvm/llvm-project/pull/97535


More information about the cfe-commits mailing list