10 lines · plain
1// RUN: mlir-opt -test-generic-ir-block-visitors-interrupt -allow-unregistered-dialect -split-input-file %s | FileCheck %s2 3func.func @main(%arg0: f32) -> f32 {4 %v1 = "foo"() {interrupt = true} : () -> f325 %v2 = arith.addf %v1, %arg0 : f326 return %v2 : f327}8 9// CHECK: step 0 walk was interrupted10