melior 0.27.2

The rustic MLIR bindings in Rust
1
2
3
4
5
6
7
8
9
10
11
12
---
source: melior/src/dialect/memref.rs
expression: module.as_operation()
---
module {
  func.func @foo() {
    %alloc = memref.alloc() : memref<8xindex>
    %0 = memref.realloc %alloc : memref<8xindex> to memref<42xindex>
    return
  }
}