brintos

brintos / llvm-project-archived public Read only

0
0
Text · 335 B · e63f4ac Raw
9 lines · plain
1// RUN: fir-opt --target-rewrite %s | FileCheck %s2 3// CHECK-LABEL: func.func @libm_preserves_fmfs4func.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}9