[flang-commits] [PATCH] D144946: [flang][hlfir] Add hlfir.parent_comp for leaf parent component references
    Valentin Clement via Phabricator via flang-commits 
    flang-commits at lists.llvm.org
       
    Tue Feb 28 02:45:03 PST 2023
    
    
  
clementval accepted this revision.
clementval added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp:399
+    return emitOpError(
+        "must be provided a shape if an only if the base is an array");
+  mlir::Type outputBaseType = hlfir::getFortranElementOrSequenceType(getType());
----------------
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144946/new/
https://reviews.llvm.org/D144946
    
    
More information about the flang-commits
mailing list