Back to PBT run
input.mlir
llvm.func @envelope_0(%x: f64, %y: f64, %z: f64) -> f64
attributes {passthrough = ["nofree", "norecurse", "nosync", ["min-legal-vector-width", "0"], ["no-trapping-math", "true"], ["stack-protector-buffer-size", "8"], ["target-cpu", "generic-rv64"]]} {
%r0 = llvm.intr.fmuladd(%x, %y, %z) : (f64, f64, f64) -> f64
%r1 = llvm.intr.fmuladd(%r0, %y, %z) : (f64, f64, f64) -> f64
llvm.return %r1 : f64
}
llvm.func @plain_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
llvm.return %r1 : f32
}
llvm.func @typed_2(%x: vector<4xf32>, %y: vector<4xf32>, %z: vector<4xf32>) -> vector<4xf32> {
%r0 = llvm.intr.fmuladd(%x, %y, %z) {fastmathFlags = #llvm.fastmath<contract>} : (vector<4xf32>, vector<4xf32>, vector<4xf32>) -> vector<4xf32>
%r1 = llvm.intr.fmuladd(%r0, %y, %z) {fastmathFlags = #llvm.fastmath<contract>} : (vector<4xf32>, vector<4xf32>, vector<4xf32>) -> vector<4xf32>
%r2 = llvm.intr.fmuladd(%r1, %y, %z) {fastmathFlags = #llvm.fastmath<contract>} : (vector<4xf32>, vector<4xf32>, vector<4xf32>) -> vector<4xf32>
llvm.return %r2 : vector<4xf32>
}
func.func @nested_3(%a: f32) -> f32 {
builtin.module {
llvm.func @inner_nested_3(%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
}