@@ -62,9 +62,11 @@ LogicalResult interpreterBaseRunOnOperationImpl(
62
62
// / transform script. If empty, `debugTransformRootTag` is considered or the
63
63
// / pass root operation must contain a single top-level transform op that
64
64
// / will be interpreted.
65
- // / - transformLibraryFileName: if non-empty, the name of the file containing
66
- // / definitions of external symbols referenced in the transform script.
67
- // / These definitions will be used to replace declarations.
65
+ // / - transformLibraryFileName: if non-empty, the module in this file will be
66
+ // / merged into the main transform script run by the interpreter before
67
+ // / execution. This allows to provide definitions for external functions
68
+ // / used in the main script. Other public symbols in the library module may
69
+ // / lead to collisions with public symbols in the main script.
68
70
// / - debugPayloadRootTag: if non-empty, the value of the attribute named
69
71
// / `kTransformDialectTagAttrName` indicating the single op that is
70
72
// / considered the payload root of the transform interpreter; otherwise, the
@@ -85,7 +87,7 @@ LogicalResult interpreterBaseRunOnOperationImpl(
85
87
// / as template arguments. They are *not* expected to to implement `initialize`
86
88
// / or `runOnOperation`. They *are* expected to call the copy constructor of
87
89
// / this class in their copy constructors, short of which the file-based
88
- // / transform dialect script injection facility will become nonoperational .
90
+ // / transform dialect script injection facility will become non-operational .
89
91
// /
90
92
// / Concrete passes may implement the `runBeforeInterpreter` and
91
93
// / `runAfterInterpreter` to customize the behavior of the pass.
0 commit comments