brintos

brintos / llvm-project-archived public Read only

0
0
Text · 305 B · 8fa1fdf Raw
10 lines · plain
1// RUN: mlir-opt -test-generic-ir-region-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