Also add support for fir.boxchar in HLFIRTools so that character
designator with none constant lengths can be processed/converted to
fir::ExtendedValue.
Depends on D138121.
Paths
| Differential D138190
[flang] Lower ArrayRef to hlfir.designate ClosedPublic Authored by jeanPerier on Nov 17 2022, 2:04 AM.
Details Summary Also add support for fir.boxchar in HLFIRTools so that character Depends on D138121.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 17 2022, 2:08 AM jeanPerier removed a parent revision: D138048: [flang] Propagate fastmath flags during intrinsics simplification.. jeanPerier added a child revision: D138198: [flang] Add hlfir.designate codegen for Fortran ArrayRef.Nov 17 2022, 7:29 AM
jeanPerier removed a parent revision: D138121: [flang] Add hlfir.designate definition.Nov 17 2022, 11:42 PM Comment Actions Remove LoweredSubscripts alias and use static size in one of jeanPerier added inline comments.
Closed by commit rG07b89273949a: [flang] Lower ArrayRef to hlfir.designate (authored by jeanPerier). · Explain WhyNov 18 2022, 1:10 AM This revision was automatically updated to reflect the committed changes. jeanPerier marked an inline comment as done. jeanPerier removed a child revision: D138198: [flang] Add hlfir.designate codegen for Fortran ArrayRef.Nov 21 2022, 1:03 AM
Revision Contents
Diff 476059 flang/include/flang/Optimizer/Builder/HLFIRTools.h
flang/lib/Lower/ConvertExprToHLFIR.cpp
flang/lib/Optimizer/Builder/HLFIRTools.cpp
flang/test/Lower/HLFIR/designators.f90
|
Can you please use some static size for SmallVector? There is an assertion in SmallVector implementation that may kick in if size of Subsctipt type increases or if the constant limit in SmallVector is changed for whatever reason.