forked from OSchip/llvm-project
[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 <clementval@gmail.com>
This commit is contained in:
parent
f631173d80
commit
7362cc5ef5
|
@ -854,9 +854,9 @@ def fir_EmboxOp : fir_Op<"embox", [NoSideEffect, AttrSizedOperandSegments]> {
|
|||
OpBuilder<(ins "llvm::ArrayRef<mlir::Type>":$resultTypes,
|
||||
"mlir::Value":$memref, CArg<"mlir::Value", "{}">:$shape,
|
||||
CArg<"mlir::Value", "{}">:$slice,
|
||||
CArg<"mlir::ValueRange", "{}">:$lenParams),
|
||||
CArg<"mlir::ValueRange", "{}">:$typeparams),
|
||||
[{ return build($_builder, $_state, resultTypes, memref, shape, slice,
|
||||
lenParams, mlir::AffineMapAttr{}); }]>
|
||||
typeparams, mlir::AffineMapAttr{}); }]>
|
||||
];
|
||||
|
||||
let assemblyFormat = [{
|
||||
|
@ -864,7 +864,7 @@ def fir_EmboxOp : fir_Op<"embox", [NoSideEffect, AttrSizedOperandSegments]> {
|
|||
(`map` $accessMap^)? attr-dict `:` functional-type(operands, results)
|
||||
}];
|
||||
|
||||
let verifier = [{ return ::verify(*this); }];
|
||||
let verifier = "return ::verify(*this);";
|
||||
|
||||
let extraClassDeclaration = [{
|
||||
mlir::Value getShape() { return shape(); }
|
||||
|
|
Loading…
Reference in New Issue