[flang-commits] [PATCH] D149449: [flang][hlfir] Add hlfir.elemental_addr for vector subscripted assignment

Slava Zakharin via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Apr 28 18:24:20 PDT 2023


vzakhari accepted this revision.
vzakhari added inline comments.


================
Comment at: flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp:1035
         "right-hand side region must be terminated by an hlfir.yield");
   // TODO: allow hlfir.elemental_addr.
+  if (!mlir::isa_and_nonnull<hlfir::YieldOp, hlfir::ElementalAddrOp>(
----------------
TODO is probably redundant now.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149449



More information about the flang-commits mailing list