melior 0.27.2

The rustic MLIR bindings in Rust
1
2
3
4
5
6
7
8
9
10
11
---
source: melior/src/dialect/arith.rs
expression: module.as_operation()
---
module {
  func.func @foo(%arg0: f32) -> i64 {
    %0 = arith.fptosi %arg0 : f32 to i64
    return %0 : i64
  }
}