Skip to content

Commit 7362cc5

Browse files
[fir][NFC] Rename lenParams to typeparams in builders
Fine tuning after couple of upstreamed patches. Rename the lenParams varaiables in buidlers to typeparams. This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D110821 Co-authored-by: Valentin Clement <[email protected]>
1 parent f631173 commit 7362cc5

File tree

1 file changed

+3
-3
lines changed
  • flang/include/flang/Optimizer/Dialect

1 file changed

+3
-3
lines changed

flang/include/flang/Optimizer/Dialect/FIROps.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -854,17 +854,17 @@ def fir_EmboxOp : fir_Op<"embox", [NoSideEffect, AttrSizedOperandSegments]> {
854854
OpBuilder<(ins "llvm::ArrayRef<mlir::Type>":$resultTypes,
855855
"mlir::Value":$memref, CArg<"mlir::Value", "{}">:$shape,
856856
CArg<"mlir::Value", "{}">:$slice,
857-
CArg<"mlir::ValueRange", "{}">:$lenParams),
857+
CArg<"mlir::ValueRange", "{}">:$typeparams),
858858
[{ return build($_builder, $_state, resultTypes, memref, shape, slice,
859-
lenParams, mlir::AffineMapAttr{}); }]>
859+
typeparams, mlir::AffineMapAttr{}); }]>
860860
];
861861

862862
let assemblyFormat = [{
863863
$memref (`(` $shape^ `)`)? (`[` $slice^ `]`)? (`typeparams` $typeparams^)?
864864
(`map` $accessMap^)? attr-dict `:` functional-type(operands, results)
865865
}];
866866

867-
let verifier = [{ return ::verify(*this); }];
867+
let verifier = "return ::verify(*this);";
868868

869869
let extraClassDeclaration = [{
870870
mlir::Value getShape() { return shape(); }

0 commit comments

Comments
 (0)