[Mlir-commits] [mlir] [mlir][bufferization] Hoist allocations through exactly-once regions (PR #224921)
Federico Bruzzone
llvmlistbot at llvm.org
Sun Sep 20 07:44:18 PDT 2026
================
@@ -519,3 +519,30 @@ func.func @hoist_alloca(
// CHECK: %[[ALLOCA0:.*]] = memref.alloca({{.*}})
// CHECK-NEXT: %[[ALLOCA1:.*]] = memref.alloca({{.*}})
// CHECK-NEXT: {{.*}} = scf.for
+
----------------
FedericoBruzzone wrote:
Can we add tests for `scf.if` inside `scf.for` (not hoisted) and nested `scf.execute_region`? :D
https://github.com/llvm/llvm-project/pull/224921
More information about the Mlir-commits
mailing list