[all-commits] [llvm/llvm-project] 8b1377: [flang] Improve length information in character tr...
jeanPerier via All-commits
all-commits at lists.llvm.org
Mon Sep 11 03:52:24 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8b13775d6a7c2b2f070fd32d320676ed5b19cbb2
https://github.com/llvm/llvm-project/commit/8b13775d6a7c2b2f070fd32d320676ed5b19cbb2
Author: jeanPerier <jperier at nvidia.com>
Date: 2023-09-11 (Mon, 11 Sep 2023)
Changed paths:
M flang/lib/Evaluate/intrinsics.cpp
M flang/test/Evaluate/fold-substr.f90
Log Message:
-----------
[flang] Improve length information in character transformational (#65771)
Intrinsic resolution currently does not resolve constant length
information for character transformational (with "sameChar") where the
argument has constant length but is not a variable or a constant
expression.
It is not required to fold those expressions (only inquiry on constant
expression or variable with constant length is required to be a constant
expression).
But constant length information for character is valuable for lowering,
so I think this is a nice and easy to have.
More information about the All-commits
mailing list