flang/test/Fir/target-rewrite-fmfs.fir
raw| 1 | // RUN: fir-opt --target-rewrite %s | FileCheck %s |
| 2 | |
| 3 | // CHECK-LABEL: func.func @libm_preserves_fmfs |
| 4 | func.func @libm_preserves_fmfs(%arg0 : complex<f32>) -> complex<f32> { |
| 5 | %0 = fir.call @csin(%arg0) fastmath<contract> : (complex<f32>) -> complex<f32> |
| 6 | // CHECK: fir.call @csin(%{{.+}}) fastmath<contract> |
| 7 | return %0 : complex<f32> |
| 8 | } |