[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
Fri Jan 29 08:13:27 PST 2021


PeteSteinfeld updated this revision to Diff 320138.
PeteSteinfeld added a comment.

Responsed to comments from Tim.

Tim noticed that constant folding for the intrinsic "lbounds" wasn't working,
even though we had a test for it which was passing.  This revealed a problem in
our tests that I fixed.  I'll fix the constant folding problem in a later
change.


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/folding09.f90
  flang/test/Evaluate/folding16.f90
  flang/test/Evaluate/test_folding.sh
  flang/test/Semantics/array-constr-values.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95449.320138.patch
Type: text/x-patch
Size: 9393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210129/54f5e91e/attachment.bin>


More information about the llvm-commits mailing list