blob: 9479288e768edfb0208a765e6e25fc18ca491cd0 [file] [log] [blame]
// RUN: mlir-opt -test-generic-ir-block-visitors-interrupt -allow-unregistered-dialect -split-input-file %s | FileCheck %s
func.func @main(%arg0: f32) -> f32 {
%v1 = "foo"() {interrupt = true} : () -> f32
%v2 = arith.addf %v1, %arg0 : f32
return %v2 : f32
}
// CHECK: step 0 walk was interrupted