mirror of
https://github.com/intel/llvm.git
synced 2026-01-31 15:44:23 +08:00
Revert "[mlir][Linalg][Transform] Avoid FunctionalStyleTransformOpTrait where unnecesseary to improve usability"
This reverts commit 31aa8ea252.
This is currently not in a good state as we have some footguns due to missing listeners.
This commit is contained in:
@@ -325,9 +325,11 @@ class VectorizeOp:
|
||||
vectorize_padding: Union[bool, BoolAttr] = False,
|
||||
loc=None,
|
||||
ip=None):
|
||||
pdl_operation_type = pdl.OperationType.get()
|
||||
if isinstance(vectorize_padding, bool):
|
||||
vectorize_padding = UnitAttr.get()
|
||||
super().__init__(
|
||||
pdl_operation_type,
|
||||
_get_op_result_or_value(target),
|
||||
vectorize_padding=vectorize_padding,
|
||||
loc=loc,
|
||||
|
||||
Reference in New Issue
Block a user