File tree 1 file changed +5
-5
lines changed
mlir/include/mlir/Dialect/Func/IR 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -246,8 +246,8 @@ def FuncOp : Func_Op<"func", [
246
246
247
247
```mlir
248
248
// External function definitions.
249
- func.func @abort()
250
- func.func @scribble(i32, i64, memref<? x 128 x f32, #layout_map0>) -> f64
249
+ func.func private @abort()
250
+ func.func private @scribble(i32, i64, memref<? x 128 x f32, #layout_map0>) -> f64
251
251
252
252
// A function that returns its argument twice:
253
253
func.func @count(%x: i64) -> (i64, i64)
@@ -256,13 +256,13 @@ def FuncOp : Func_Op<"func", [
256
256
}
257
257
258
258
// A function with an argument attribute
259
- func.func @example_fn_arg(%x: i32 {swift.self = unit})
259
+ func.func private @example_fn_arg(%x: i32 {swift.self = unit})
260
260
261
261
// A function with a result attribute
262
- func.func @example_fn_result() -> (f64 {dialectName.attrName = 0 : i64})
262
+ func.func private @example_fn_result() -> (f64 {dialectName.attrName = 0 : i64})
263
263
264
264
// A function with an attribute
265
- func.func @example_fn_attr() attributes {dialectName.attrName = false}
265
+ func.func private @example_fn_attr() attributes {dialectName.attrName = false}
266
266
```
267
267
}];
268
268
You can’t perform that action at this time.
0 commit comments