[Mlir-commits] [mlir] [mlir] [memref] [transform] Add alloc_to_global op. (PR #211141)

Federico Bruzzone llvmlistbot at llvm.org
Wed Aug 5 23:34:20 PDT 2026


================

----------------
FedericoBruzzone wrote:

I really like this docs! 

I'm not 100% sure about this, but maybe the following case should be also documented. Is the provenance lost in this case?
```mlir
func.func @via_cast() {
  %0 = memref.alloc() : memref<8xf32>
  %1 = memref.cast %0 : memref<8xf32> to memref<?xf32>
  memref.dealloc %1 : memref<?xf32>
  return
}
```


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


More information about the Mlir-commits mailing list