1 // RUN: mlir-opt %s --log-actions-to=- --test-composite-fixed-point-pass -split-input-file | FileCheck %s
2 // RUN: mlir-opt %s --log-actions-to=- --composite-fixed-point-pass='name=TestCompositePass pipeline=any(canonicalize,cse)' -split-input-file | FileCheck %s
4 // CHECK-LABEL: running `TestCompositePass`
5 // CHECK: running `Canonicalizer`
6 // CHECK: running `CSE`
7 // CHECK-NOT: running `Canonicalizer`
8 // CHECK-NOT: running `CSE`
15 // CHECK-LABEL: running `TestCompositePass`
16 // CHECK: running `Canonicalizer`
17 // CHECK: running `CSE`
18 // CHECK: running `Canonicalizer`
19 // CHECK: running `CSE`
20 // CHECK-NOT: running `Canonicalizer`
21 // CHECK-NOT: running `CSE`
23 // this constant will be canonicalized away, causing another pass iteration
24 %0 = arith.constant 1.5 : f32