Skip to content

Commit a383b09

Browse files
committed
let arguments
1 parent 362fdda commit a383b09

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mlir/include/mlir/Dialect/AMDGPU/IR/AMDGPU.td

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -669,11 +669,7 @@ def AMDGPU_PermlanePerm : I32EnumAttr<"PermlanePerm",
669669
def AMDGPU_PermlanePermAttr : EnumAttr<AMDGPU_Dialect, AMDGPU_PermlanePerm,
670670
"permlane_perm">;
671671

672-
def AMDGPU_PermlaneOp : AMDGPU_Op<"permlane", [Pure, AllTypesMatch<["result", "src"]>]>,
673-
Arguments<(ins AnyIntegerOrFloatOr1DVector:$src,
674-
AMDGPU_PermlanePermAttr:$kind,
675-
DefaultValuedAttr<BoolAttr, "false">:$fetch_inactive,
676-
DefaultValuedAttr<BoolAttr, "false">:$bound_ctrl)> {
672+
def AMDGPU_PermlaneOp : AMDGPU_Op<"permlane", [Pure, AllTypesMatch<["result", "src"]>]> {
677673
let summary = "AMDGPU permlane op";
678674
let description = [{
679675
High-level wrapper on `rocdl.permlane.*` variants.
@@ -704,6 +700,10 @@ Arguments<(ins AnyIntegerOrFloatOr1DVector:$src,
704700

705701
Note: Lowering is only supported on gfx950 and up.
706702
}];
703+
let arguments = (ins AnyIntegerOrFloatOr1DVector:$src,
704+
AMDGPU_PermlanePermAttr:$kind,
705+
DefaultValuedAttr<BoolAttr, "false">:$fetch_inactive,
706+
DefaultValuedAttr<BoolAttr, "false">:$bound_ctrl);
707707
let results = (outs AnyIntegerOrFloatOr1DVector:$result);
708708
let assemblyFormat = [{
709709
$src $kind attr-dict `:` type($result)

0 commit comments

Comments
 (0)