1 // RUN: fir-opt %s | fir-opt | FileCheck %s
3 // CHECK-LABEL: @test_callop
4 func.func @test_callop(%arg0 : f32) {
5 // CHECK: fir.call @callee() : () -> ()
6 fir.call @callee() fastmath<none> : () -> ()
7 // CHECK: fir.call @callee() : () -> ()
8 fir.call @callee() {fastmath = #arith.fastmath<none>} : () -> ()
9 // CHECK: fir.call @callee() fastmath<ninf,contract> : () -> ()
10 fir.call @callee() fastmath<ninf,contract> : () -> ()
11 // CHECK: fir.call @callee() fastmath<nnan,afn> : () -> ()
12 fir.call @callee() {fastmath = #arith.fastmath<nnan,afn>} : () -> ()
13 // CHECK: fir.call @callee() fastmath<fast> : () -> ()
14 fir.call @callee() fastmath<fast> : () -> ()
15 // CHECK: fir.call @callee() fastmath<fast> : () -> ()
16 fir.call @callee() {fastmath = #arith.fastmath<fast>} : () -> ()
20 func.func private @callee()