[Mlir-commits] [mlir] [MLIR][IR] add -mlir-print-unique-ids to AsmPrinter (PR #91241)

Mehdi Amini llvmlistbot at llvm.org
Mon May 6 10:22:02 PDT 2024


================
@@ -0,0 +1,40 @@
+// RUN: mlir-opt -mlir-print-unique-ids %s | FileCheck %s
----------------
joker-eph wrote:

I would also add the negative test: 
```
// RUN: mlir-opt %s | FileCheck %s --check-prefix=LOCAL_SCOPE
```

And:

```
// LOCAL_SCOPE-NOT: %arg5
// LOCAL_SCOPE-NOT: %15
```



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


More information about the Mlir-commits mailing list