diff options
| author | Alex Zinenko <zinenko@google.com> | 2023-01-03 16:01:07 +0000 |
|---|---|---|
| committer | Alex Zinenko <zinenko@google.com> | 2023-01-06 12:23:41 +0000 |
| commit | 4b455a71b7abe797667d2be8d725c0c44bd85c19 (patch) | |
| tree | 3b1f43c55f81ae6acc2e44ff4102b518656c57d0 /lldb/source/Plugins/ScriptInterpreter/Python | |
| parent | 054ec47c91d6fe8bed219ff465547a31c1fbb0c2 (diff) | |
[mlir] adapt TransformEachOpTrait to parameter values
Adapt the implementation of TransformEachOpTrait to the existence of
parameter values recently introduced into the transform dialect. In
particular, allow `applyToOne` hooks to return a list containing a mix
of `Operation *` that will be associated with handles and `Attribute`
that will be associated with parameter values by the trait
implementation of the transform interface's `apply` method.
Disentangle the "transposition" of the list of per-payload op partial
results to decrease its overall complexity and detemplatize the code
that doesn't really need templates. This removes the poorly documented
special handling for single-result ops with TransformEachOpTrait that
could have assigned null pointer values to handles.
Reviewed By: springerm
Differential Revision: https://reviews.llvm.org/D140979
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
