[Mlir-commits] [mlir] [mlir] [mem2reg] Fix Mem2Reg attempting to promote in graph regions (PR #104910)

Christian Ulmann llvmlistbot at llvm.org
Tue Aug 20 09:25:56 PDT 2024


================
@@ -1,4 +1,4 @@
-// RUN: mlir-opt %s --pass-pipeline='builtin.module(func.func(mem2reg))' --split-input-file | FileCheck %s
+// RUN: mlir-opt %s --pass-pipeline='builtin.module(func.func(mem2reg),test.isolated_graph_region(mem2reg))' --split-input-file | FileCheck %s
----------------
Dinistro wrote:

```suggestion
// RUN: mlir-opt %s --pass-pipeline='builtin.module(any(mem2reg))' --split-input-file | FileCheck %s
```
This this not work?

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


More information about the Mlir-commits mailing list