[Mlir-commits] [mlir] [mlir][LLVMIR] Handle missing functions in CGProfile module flags (PR #169517)
Christian Ulmann
llvmlistbot at llvm.org
Wed Nov 26 08:08:12 PST 2025
================
@@ -0,0 +1,14 @@
+// RUN: mlir-translate %s -mlir-to-llvmir | FileCheck %s
+// CHECK: !llvm.module.flags = !{!0, !3}
----------------
Dinistro wrote:
Nit: Avoid checks with actual ids, use matchers instead. For example something like this
```suggestion
// CHECK: !llvm.module.flags = !{![[PROF_NODE:[0-9]+]]
```
https://github.com/llvm/llvm-project/pull/169517
More information about the Mlir-commits
mailing list