view mlir/test/IR/pretty-region-args.mlir @ 154:f7e988d3e4cc

fix def file
author anatofuz
date Wed, 11 Mar 2020 19:23:03 +0900
parents 1d019706d866
children 0572611fdcc8
line wrap: on
line source

// RUN: mlir-opt %s | FileCheck %s

// CHECK-LABEL: func @custom_region_names
func @custom_region_names() -> () {
  "test.polyfor"() ( {
  ^bb0(%arg0: index, %arg1: index, %arg2: index):
    "foo"() : () -> ()
  }) { arg_names = ["i", "j", "k"] } : () -> ()
  // CHECK: test.polyfor
  // CHECK-NEXT: ^bb{{.*}}(%i: index, %j: index, %k: index):
  return
}