[flang-commits] [PATCH] D117343: [flasg] Debug folding of substring references
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Fri Jan 14 10:59:22 PST 2022
klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a reviewer: sscalpone.
klausler requested review of this revision.
Character substrings weren't being folded correctly;
add tests and rework the implementation so that substrings
of literals and named constant character scalars & arrays
are properly folded for use in constant expressions.
https://reviews.llvm.org/D117343
Files:
flang/include/flang/Evaluate/constant.h
flang/lib/Evaluate/constant.cpp
flang/lib/Evaluate/fold-implementation.h
flang/lib/Evaluate/variable.cpp
flang/test/Evaluate/fold-substr.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117343.400073.patch
Type: text/x-patch
Size: 9128 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220114/cd4eb7fb/attachment.bin>
More information about the flang-commits
mailing list