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

Valentin Clement via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Dec 14 05:56:00 PST 2022


clementval 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();
----------------
pre-commit check is complaining here:

```
 error: no member named 'getRank' in 'hlfir::ExprType'
```


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