[flang-commits] [flang] [mlir] [Flang][MLIR][OpenMP] Move function filtering to the omp dialect (PR #214182)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Mon Aug 10 06:34:23 PDT 2026


================
@@ -0,0 +1,152 @@
+// RUN: mlir-opt -split-input-file --omp-function-filter %s | FileCheck %s
+
+// CHECK: llvm.func @any
+// CHECK: llvm.return
+// CHECK: llvm.func @nohost
+// CHECK: llvm.return
+// CHECK-NOT: llvm.func {{.*}}}} @host
+// CHECK-NOT: llvm.func {{.*}}}} @none
----------------
skatrak wrote:

Good catch, done.

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


More information about the flang-commits mailing list