[flang-commits] [PATCH] D138121: [flang] Add hlfir.designate definition
Jean Perier via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Nov 17 00:49:51 PST 2022
jeanPerier added inline comments.
================
Comment at: flang/include/flang/Optimizer/HLFIR/HLFIROps.td:202
+ "llvm::StringRef":$component, "mlir::Value":$component_shape,
+ "llvm::ArrayRef<std::variant<mlir::Value, std::tuple<mlir::Value, mlir::Value, mlir::Value>>>":$subscripts,
+ CArg<"mlir::ValueRange", "{}">:$substring,
----------------
vzakhari wrote:
> Just curious if it is possible to use `llvm::ArrayRef<Subscript>` here.
That would have been nice, but the "extraClassDeclaration" definitions are emitted after the builder declarations (I guess this could be changed by modifying MLIR tablegen processor, but I think it is not worth it just for this).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138121/new/
https://reviews.llvm.org/D138121
More information about the flang-commits
mailing list