[Mlir-commits] [mlir] [mlir][OpenMP] Added translation for `omp.teams` to LLVM IR (PR #68042)
Kiran Chandramohan
llvmlistbot at llvm.org
Tue Oct 3 01:53:16 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 Mlir-commits
mailing list