Back to PBT run
input.mlir
module {
llvm.func @resolved_0(%x: f32, %y: f32, %z: f32) -> f32 {
%p0 = math.fma %x, %y, %z : f32
%q0 = arith.mulf %x, %y : f32
%s0 = arith.addf %q0, %z : f32
llvm.return %x : f32
}
llvm.func @plain_1(%x: f16, %y: f16, %z: f16) -> f16 {
%r1_0 = llvm.intr.fmuladd(%x, %y, %z) {fastmathFlags = #llvm.fastmath<nnan, contract>} : (f16, f16, f16) -> f16 loc("fmuladd_1_0")
%r1_1 = llvm.intr.fmuladd(%x, %y, %z) {fastmathFlags = #llvm.fastmath<fast>} : (f16, f16, f16) -> f16 loc("fmuladd_1_1")
llvm.return %x : f16
}
func.func @native_2(%a: f64) -> f64 {
builtin.module {
llvm.func @inner_2(%x: f64, %y: f64, %z: f64) -> f64 {
%n2 = llvm.intr.fmuladd(%x, %y, %z) {fastmathFlags = #llvm.fastmath<nnan>} : (f64, f64, f64) -> f64 loc("fmuladd_nested_2")
llvm.return %x : f64
}
}
return %a : f64
}
}