[flang-commits] [PATCH] D140015: [flang] Add hlfir.elemental and hlfir.yield_element definition

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Dec 14 06:24:47 PST 2022


jeanPerier added inline comments.


================
Comment at: flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp:450
+  if (auto exprType = resultType.dyn_cast<hlfir::ExprType>()) {
+    unsigned dim = exprType.getRank();
+    mlir::Type indexType = builder.getIndexType();
----------------
clementval wrote:
> pre-commit check is complaining here:
> 
> ```
>  error: no member named 'getRank' in 'hlfir::ExprType'
> ```
Whoops. Bad split of my changes. Should be fixed now.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140015



More information about the flang-commits mailing list