[all-commits] [llvm/llvm-project] 21ea40: [flang] Create a temporary of the correct size whe...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Tue Aug 30 04:49:34 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 21ea40d498b23b55cc1a9e559ef126ed3c33c15a
https://github.com/llvm/llvm-project/commit/21ea40d498b23b55cc1a9e559ef126ed3c33c15a
Author: Valentin Clement <clementval at gmail.com>
Date: 2022-08-30 (Tue, 30 Aug 2022)
Changed paths:
M flang/lib/Lower/ConvertExpr.cpp
M flang/test/Lower/array-expression.f90
M flang/test/Lower/structure-constructors.f90
Log Message:
-----------
[flang] Create a temporary of the correct size when lowering SetLength in genarr
This patch creates a temporary of the appropriate length while lowering SetLength.
The corresponding character can be truncated or padded if necessary.
This fix issue with array constructor in argument and also with statement function.
D132464 was fixing the same issue in genval.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D132866
More information about the All-commits
mailing list