[Mlir-commits] [mlir] [mlir][affine] Implement PromotableRegionOpInterface for AffineIfOp (PR #225388)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Sep 22 06:00:47 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir-affine

Author: Paul Berg (Pangoraw)

<details>
<summary>Changes</summary>

Follow-up to #<!-- -->221123 to use the structured mem2reg pass on affine if operations.

---
Full diff: https://github.com/llvm/llvm-project/pull/225388.diff


3 Files Affected:

- (modified) mlir/include/mlir/Dialect/Affine/IR/AffineOps.td (+2-1) 
- (modified) mlir/lib/Dialect/Affine/IR/MemorySlot.cpp (+45) 
- (modified) mlir/test/Dialect/Affine/mem2reg.mlir (+38) 


``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````

</details>


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


More information about the Mlir-commits mailing list