Back to PBT run

output.generic.mlir

"builtin.module"() ({
  "llvm.func"() <{CConv = #llvm.cconv<ccc>, function_type = !llvm.func<f32 (f32, f32, f32)>, linkage = #llvm.linkage<external>, sym_name = "plain_0", unnamed_addr = 0 : i64, visibility_ = 0 : i64}> ({
  ^bb0(%arg10: f32, %arg11: f32, %arg12: f32):
    %5 = "math.fma"(%arg10, %arg11, %arg12) <{fastmath = #arith.fastmath<none>}> : (f32, f32, f32) -> f32
    %6 = "math.fma"(%5, %arg11, %arg12) <{fastmath = #arith.fastmath<none>}> : (f32, f32, f32) -> f32
    "llvm.return"(%6) : (f32) -> ()
  }) : () -> ()
  "func.func"() <{function_type = (f32) -> f32, sym_name = "nested_1"}> ({
  ^bb0(%arg6: f32):
    "builtin.module"() ({
      "llvm.func"() <{CConv = #llvm.cconv<ccc>, function_type = !llvm.func<f32 (f32, f32, f32)>, linkage = #llvm.linkage<external>, sym_name = "inner_nested_1", unnamed_addr = 0 : i64, visibility_ = 0 : i64}> ({
      ^bb0(%arg7: f32, %arg8: f32, %arg9: f32):
        %4 = "math.fma"(%arg7, %arg8, %arg9) <{fastmath = #arith.fastmath<none>}> : (f32, f32, f32) -> f32
        "llvm.return"(%4) : (f32) -> ()
      }) : () -> ()
    }) : () -> ()
    "func.return"(%arg6) : (f32) -> ()
  }) : () -> ()
  "llvm.func"() <{CConv = #llvm.cconv<ccc>, function_type = !llvm.func<f16 (f16, f16, f16)>, linkage = #llvm.linkage<external>, sym_name = "typed_2", unnamed_addr = 0 : i64, visibility_ = 0 : i64}> ({
  ^bb0(%arg3: f16, %arg4: f16, %arg5: f16):
    %1 = "math.fma"(%arg3, %arg4, %arg5) <{fastmath = #arith.fastmath<nnan,contract>}> : (f16, f16, f16) -> f16
    %2 = "math.fma"(%1, %arg4, %arg5) <{fastmath = #arith.fastmath<nnan,contract>}> : (f16, f16, f16) -> f16
    %3 = "math.fma"(%2, %arg4, %arg5) <{fastmath = #arith.fastmath<nnan,contract>}> : (f16, f16, f16) -> f16
    "llvm.return"(%3) : (f16) -> ()
  }) : () -> ()
  "func.func"() <{function_type = (f32, f32, f32) -> f32, sym_name = "native_3"}> ({
  ^bb0(%arg0: f32, %arg1: f32, %arg2: f32):
    %0 = "math.fma"(%arg0, %arg1, %arg2) <{fastmath = #arith.fastmath<none>}> : (f32, f32, f32) -> f32
    "func.return"(%0) : (f32) -> ()
  }) : () -> ()
}) : () -> ()