brintos

brintos / llvm-project-archived public Read only

0
0
Text · 508 B · 1f88258 Raw
14 lines · plain
1// RUN: mlir-opt %s --mlir-print-op-generic | FileCheck %s2 3// Check that math.atan can be constructed by parsing and the fastmath4// attribute can be created. This requires math dialect to depend on arith5// dialect. Note that we don't want other dialects in here as they may6// 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 : f6412  "test.possible_terminator"() : () -> ()13}) : () -> ()14