[Mlir-commits] [mlir] [mlir] Extend moveValueDefinitions/moveOperationDependencies with cross-region support (PR #176343)
Ian Wood
llvmlistbot at llvm.org
Fri Jan 16 11:09:32 PST 2026
================
@@ -441,24 +441,38 @@ module attributes {transform.with_named_sequence} {
// -----
-// Do not move across basic blocks
-func.func @no_move_across_basic_blocks() -> (index, index) {
- %0 = "unmoved_op"() : () -> (index)
- %1 = "before"() : () -> (index)
- cf.br ^bb0(%0 : index)
- ^bb0(%arg0 : index) :
- %2 = arith.addi %arg0, %arg0 {moved_op} : index
- return %1, %2 : index, index
+
----------------
IanWood1 wrote:
Should we keep the test "no_move_across_basic_blocks"? Or at least have a test for moving between blocks in the same region.
https://github.com/llvm/llvm-project/pull/176343
More information about the Mlir-commits
mailing list