Back to PBT run
input.mlir
func.func @nested_0(%a: f32) -> f32 {
builtin.module {
llvm.func @inner_nested_0(%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
llvm.return %r1 : f32
}
}
return %a : f32
}
llvm.func @envelope_1(%x: f32, %y: f32, %z: f32) -> f32
attributes {fp_contract = "off"} {
%r0 = llvm.intr.fmuladd(%x, %y, %z) {fastmathFlags = #llvm.fastmath<nnan, contract>} : (f32, f32, f32) -> f32
llvm.return %r0 : f32
}
llvm.func @typed_2(%x: f16, %y: f16, %z: f16) -> f16 {
%r0 = llvm.intr.fmuladd(%x, %y, %z) {fastmathFlags = #llvm.fastmath<nnan, contract>} : (f16, f16, f16) -> f16
%r1 = llvm.intr.fmuladd(%r0, %y, %z) {fastmathFlags = #llvm.fastmath<nnan, contract>} : (f16, f16, f16) -> f16
%r2 = llvm.intr.fmuladd(%r1, %y, %z) {fastmathFlags = #llvm.fastmath<nnan, contract>} : (f16, f16, f16) -> f16
llvm.return %r2 : f16
}