[PATCH] D95449: [flang] Fix problems with constant arrays with lower bounds that are not 1
    Pete Steinfeld via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jan 27 14:56:41 PST 2021
    
    
  
PeteSteinfeld updated this revision to Diff 319687.
PeteSteinfeld added a comment.
I implemented a separate class to handle changing the lower bounds of array
constants as suggested by Peter.  In the process I noticed that there was an
unused class in Evaluate/check-expression.cpp.  Also, when implementing the new
class I found a bug when handling parenthesized expressions which also exists
in the class I was previously using, so I fixed it in both places.  I also
added new tests that include parenthesized expressions.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95449/new/
https://reviews.llvm.org/D95449
Files:
  flang/include/flang/Evaluate/tools.h
  flang/lib/Evaluate/check-expression.cpp
  flang/lib/Evaluate/shape.cpp
  flang/test/Evaluate/folding16.f90
  flang/test/Semantics/array-constr-values.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95449.319687.patch
Type: text/x-patch
Size: 6443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210127/abb1ae3d/attachment.bin>
    
    
More information about the llvm-commits
mailing list