Back to PBT run

input.mlir

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

func.func @native_1(%x: f32, %y: f32, %z: f32) -> f32 {
  %r0 = llvm.intr.fmuladd(%x, %y, %z) : (f32, f32, f32) -> f32
  %r1 = llvm.intr.fmuladd(%r0, %y, %z) : (f32, f32, f32) -> f32
  return %r1 : f32
}

func.func @nested_2(%a: f32) -> f32 {
  builtin.module {
    llvm.func @inner_nested_2(%x: f32, %y: f32, %z: f32) -> f32 {
  %r0 = llvm.intr.fmuladd(%x, %y, %z) : (f32, f32, f32) -> f32
      llvm.return %r0 : f32
    }
  }
  return %a : f32
}