[llvm] [mlir][OpenMP] Added translation for `omp.teams` to LLVM IR (PR #68042)

Kiran Chandramohan via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 3 01:53:19 PDT 2023


================
@@ -0,0 +1,136 @@
+// RUN: mlir-translate -mlir-to-llvmir -split-input-file %s | FileCheck %s
+
+llvm.func @foo()
+
+// CHECK-LABEL: @omp_teams_simple
+// CHECK: call void {{.*}} @__kmpc_fork_teams(ptr @{{.+}}, i32 0, ptr [[wrapperfn:.+]])
----------------
kiranchandramohan wrote:

Could you convert the captured variables (eg. wrapperfn) to caps? This is to distinguish them easily from code.

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


More information about the llvm-commits mailing list