[Mlir-commits] [llvm] [mlir] [OMPIRBuilder] - Fix emitTargetTaskProxyFunc to not generate empty functions (PR #126958)
Kareem Ergawy
llvmlistbot at llvm.org
Thu Feb 13 01:48:35 PST 2025
================
@@ -20,10 +20,30 @@ module attributes {omp.is_target_device = false} {
// CHECK: define void @omp_target_nowait_()
// CHECK-NOT: define {{.*}} @
// CHECK-NOT: call ptr @__kmpc_omp_target_task_alloc({{.*}})
+// CHECK: call void @__kmpc_omp_task_begin_if0
+// CHECK-NEXT: call void @.omp_target_task_proxy_func
----------------
ergawy wrote:
nit: can we check that the body of `omp_target_task_proxy_func` is not empty anymore?
https://github.com/llvm/llvm-project/pull/126958
More information about the Mlir-commits
mailing list