forked from OSchip/llvm-project
Update outdated comment for NativeCodeCall
PiperOrigin-RevId: 279986050
This commit is contained in:
parent
51de3f688e
commit
0e2affdf59
|
@ -1807,8 +1807,8 @@ class Pat<dag pattern, dag result, list<dag> preds = [],
|
||||||
//
|
//
|
||||||
// * `$_builder` will be replaced by the current `mlir::PatternRewriter`.
|
// * `$_builder` will be replaced by the current `mlir::PatternRewriter`.
|
||||||
// * `$_self` will be replaced with the entity this transformer is attached to.
|
// * `$_self` will be replaced with the entity this transformer is attached to.
|
||||||
// E.g., with the definition `def transform : tAttr<$_self...>`, `$_self` in
|
// E.g., with the definition `def transform : NativeCodeCall<"$_self...">`,
|
||||||
// `transform:$attr` will be replaced by the value for `$att`.
|
// `$_self` in `transform:$attr` will be replaced by the value for `$attr`.
|
||||||
//
|
//
|
||||||
// If used as a DAG node, i.e., `(NativeCodeCall<"..."> <arg0>, ..., <argN>)`,
|
// If used as a DAG node, i.e., `(NativeCodeCall<"..."> <arg0>, ..., <argN>)`,
|
||||||
// then positional placeholders are also supported; placeholder `$N` in the
|
// then positional placeholders are also supported; placeholder `$N` in the
|
||||||
|
|
Loading…
Reference in New Issue