1// RUN: mlir-opt %s --mlir-print-op-generic | FileCheck %s 2 3// Check that math.atan can be constructed by parsing and the fastmath 4// attribute can be created. This requires math dialect to depend on arith 5// dialect. Note that we don't want other dialects in here as they may 6// transitively depend on arith and load it even if math doesn't. 7 8"test.some_op_with_region"() ({ 9^bb0(%arg0: f64): 10 // CHECK: #arith.fastmath<none> 11 math.atan %arg0 : f64 12 "test.possible_terminator"() : () -> () 13}) : () -> () 14