melior 0.27.3

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