We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 342a3ce commit 9b21cb2Copy full SHA for 9b21cb2
mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
@@ -37,11 +37,11 @@ def EmitC_ApplyOp : EmitC_Op<"apply", []> {
37
38
```mlir
39
// Custom form of applying the & operator.
40
- %0 = emitc.apply "&"(%arg0) : (i32) -> !emitc.opaque<"int32_t*">
+ %0 = emitc.apply "&"(%arg0) : (i32) -> !emitc.ptr<i32>
41
42
// Generic form of the same operation.
43
%0 = "emitc.apply"(%arg0) {applicableOperator = "&"}
44
- : (i32) -> !emitc.opaque<"int32_t*">
+ : (i32) -> !emitc.ptr<i32>
45
46
```
47
}];
0 commit comments