Fix a correctness issue with arrays of characters. Include tests, etc.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Paths 
  |  Differential  D119551  
[flang] Upstream changes to allocmem codegen ClosedPublic Authored by schweitz on Feb 11 2022, 8:42 AM. 
Details Summary Fix a correctness issue with arrays of characters. Include tests, etc. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Feb 11 2022, 8:43 AM Closed by commit rGc45bd4b9e58e: [flang] Upstream fix to allocmem codegen to deal with missing dimensions (authored by schweitz).  ·  Explain WhyFeb 11 2022, 11:13 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 407964 flang/include/flang/Optimizer/Dialect/FIRType.h
 flang/lib/Optimizer/CodeGen/CodeGen.cpp
 flang/test/Fir/alloc.fir
 
 flang/test/Fir/convert-to-llvm.fir
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||