[Mlir-commits] [mlir] [MLIR][XeVM] Rewrite llvm.alloca if addr_space is not 0 (PR #183417)
Artem Kroviakov
llvmlistbot at llvm.org
Thu Feb 26 04:12:36 PST 2026
https://github.com/akroviakov approved this pull request.
Thanks. Confirmed on the reduction test using my suggested change of `getParentWithTrait<OpTrait::SymbolTable>`.
Btw, there [is](https://github.com/llvm/llvm-project/blob/254cb2a32649098b11edaac2cc6eb31ea9bfe117/mlir/include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.td#L147) a transform for `memref.alloca` to `memref.global`, but I guess our case is backend-situational rather than structural, so xevm-to-llvm seems appropriate.
https://github.com/llvm/llvm-project/pull/183417
More information about the Mlir-commits
mailing list