blob: e63f4acbe6671ca3390217cf2f554e5443a4353d [file] [log] [blame]
// RUN: fir-opt --target-rewrite %s | FileCheck %s
// CHECK-LABEL: func.func @libm_preserves_fmfs
func.func @libm_preserves_fmfs(%arg0 : complex<f32>) -> complex<f32> {
%0 = fir.call @csin(%arg0) fastmath<contract> : (complex<f32>) -> complex<f32>
// CHECK: fir.call @csin(%{{.+}}) fastmath<contract>
return %0 : complex<f32>
}