Back to PBT run

input.mlir

llvm.func @typed_0(%x: f64, %y: f64, %z: f64) -> f64 {
  %r0 = llvm.intr.fmuladd(%x, %y, %z) {fastmathFlags = #llvm.fastmath<contract>} : (f64, f64, f64) -> f64
  %r1 = llvm.intr.fmuladd(%r0, %y, %z) {fastmathFlags = #llvm.fastmath<contract>} : (f64, f64, f64) -> f64
  %r2 = llvm.intr.fmuladd(%r1, %y, %z) {fastmathFlags = #llvm.fastmath<contract>} : (f64, f64, f64) -> f64
  llvm.return %r2 : f64
}

llvm.func @typed_1(%x: f16, %y: f16, %z: f16) -> f16 {
  %r0 = llvm.intr.fmuladd(%x, %y, %z) {fastmathFlags = #llvm.fastmath<contract>} : (f16, f16, f16) -> f16
  llvm.return %r0 : f16
}

llvm.func @typed_2(%x: f16, %y: f16, %z: f16) -> f16 {
  %r0 = llvm.intr.fmuladd(%x, %y, %z) {fastmathFlags = #llvm.fastmath<fast>} : (f16, f16, f16) -> f16
  %r1 = llvm.intr.fmuladd(%r0, %y, %z) {fastmathFlags = #llvm.fastmath<fast>} : (f16, f16, f16) -> f16
  %r2 = llvm.intr.fmuladd(%r1, %y, %z) {fastmathFlags = #llvm.fastmath<fast>} : (f16, f16, f16) -> f16
  llvm.return %r2 : f16
}

llvm.func @split_3(%x: f64, %y: f64, %z: f64) -> f64 {
  %prod = arith.mulf %x, %y : f64
  %sum = arith.addf %prod, %z : f64
  llvm.return %sum : f64
}