Back to PBT run

output.generic.mlir

"builtin.module"() ({
  "func.func"() <{function_type = (f64, f64, f64) -> f64, sym_name = "native_0"}> ({
  ^bb0(%arg11: f64, %arg12: f64, %arg13: f64):
    %10 = "math.fma"(%arg11, %arg12, %arg13) <{fastmath = #arith.fastmath<none>}> : (f64, f64, f64) -> f64
    %11 = "math.fma"(%10, %arg12, %arg13) <{fastmath = #arith.fastmath<none>}> : (f64, f64, f64) -> f64
    "func.return"(%11) : (f64) -> ()
  }) : () -> ()
  "func.func"() <{function_type = (f64, f64, f64) -> f64, sym_name = "native_1"}> ({
  ^bb0(%arg8: f64, %arg9: f64, %arg10: f64):
    %9 = "math.fma"(%arg8, %arg9, %arg10) <{fastmath = #arith.fastmath<none>}> : (f64, f64, f64) -> f64
    "func.return"(%9) : (f64) -> ()
  }) : () -> ()
  "llvm.func"() <{CConv = #llvm.cconv<ccc>, function_type = !llvm.func<f64 (f64, f64, f64, i32)>, linkage = #llvm.linkage<external>, sym_name = "mixed_2", unnamed_addr = 0 : i64, visibility_ = 0 : i64}> ({
  ^bb0(%arg4: f64, %arg5: f64, %arg6: f64, %arg7: i32):
    %5 = "llvm.fmul"(%arg4, %arg5) <{fastmathFlags = #llvm.fastmath<none>}> : (f64, f64) -> f64
    %6 = "llvm.add"(%arg7, %arg7) <{overflowFlags = 0 : i32}> : (i32, i32) -> i32
    %7 = "math.fma"(%arg4, %arg5, %arg6) <{fastmath = #arith.fastmath<none>}> : (f64, f64, f64) -> f64
    %8 = "llvm.fadd"(%7, %5) <{fastmathFlags = #llvm.fastmath<none>}> : (f64, f64) -> f64
    "llvm.return"(%8) : (f64) -> ()
  }) : () -> ()
  "llvm.func"() <{CConv = #llvm.cconv<ccc>, function_type = !llvm.func<f32 (f32, f32, f32, i32)>, linkage = #llvm.linkage<external>, sym_name = "mixed_3", unnamed_addr = 0 : i64, visibility_ = 0 : i64}> ({
  ^bb0(%arg0: f32, %arg1: f32, %arg2: f32, %arg3: i32):
    %0 = "llvm.fmul"(%arg0, %arg1) <{fastmathFlags = #llvm.fastmath<none>}> : (f32, f32) -> f32
    %1 = "llvm.add"(%arg3, %arg3) <{overflowFlags = 0 : i32}> : (i32, i32) -> i32
    %2 = "math.fma"(%arg0, %arg1, %arg2) <{fastmath = #arith.fastmath<none>}> : (f32, f32, f32) -> f32
    %3 = "math.fma"(%2, %arg1, %arg2) <{fastmath = #arith.fastmath<none>}> : (f32, f32, f32) -> f32
    %4 = "llvm.fadd"(%3, %0) <{fastmathFlags = #llvm.fastmath<none>}> : (f32, f32) -> f32
    "llvm.return"(%4) : (f32) -> ()
  }) : () -> ()
}) : () -> ()