[PATCH] D110821: [fir][NFC] Rename lenParams to typeparams in builders

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 30 08:57:24 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG7362cc5ef50b: [fir][NFC] Rename lenParams to typeparams in builders (authored by schweitz, committed by clementval).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110821/new/

https://reviews.llvm.org/D110821

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


Index: flang/include/flang/Optimizer/Dialect/FIROps.td
===================================================================
--- flang/include/flang/Optimizer/Dialect/FIROps.td
+++ flang/include/flang/Optimizer/Dialect/FIROps.td
@@ -854,9 +854,9 @@
     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 @@
       (`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(); }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110821.376240.patch
Type: text/x-patch
Size: 1034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210930/3eff76eb/attachment.bin>


More information about the llvm-commits mailing list