Back to PBT run

input.mlir

module {
llvm.func @resolved_0(%x: f64, %y: f64, %z: f64) -> f64 {
  %p0 = math.fma %x, %y, %z : f64
  %q0 = arith.mulf %x, %y : f64
  %s0 = arith.addf %q0, %z : f64
  llvm.return %x : f64
}

func.func @native_1(%a: f64) -> f64 {
  builtin.module {
    llvm.func @inner_1(%x: f64, %y: f64, %z: f64) -> f64 {
      %n1 = llvm.intr.fmuladd(%x, %y, %z) {fastmathFlags = #llvm.fastmath<nnan>} : (f64, f64, f64) -> f64 loc("fmuladd_nested_1")
      llvm.return %x : f64
    }
  }
  return %a : f64
}

func.func @native_2(%a: f32) -> f32 {
  builtin.module {
    llvm.func @inner_2(%x: f32, %y: f32, %z: f32) -> f32 {
      %n2 = llvm.intr.fmuladd(%x, %y, %z) {fastmathFlags = #llvm.fastmath<nnan>} : (f32, f32, f32) -> f32 loc("fmuladd_nested_2")
      llvm.return %x : f32
    }
  }
  return %a : f32
}

}