[all-commits] [llvm/llvm-project] 45ac2c: [flang] Allow PDTs with LEN parameters in REDUCE()
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon May 9 17:41:04 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 45ac2c730bc4f78d2d90a76e98fab66de92433b6
https://github.com/llvm/llvm-project/commit/45ac2c730bc4f78d2d90a76e98fab66de92433b6
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-05-09 (Mon, 09 May 2022)
Changed paths:
M flang/lib/Evaluate/intrinsics.cpp
M flang/test/Semantics/reduce01.f90
Log Message:
-----------
[flang] Allow PDTs with LEN parameters in REDUCE()
The type compatibility checks for the ARRAY= argument and the dummy
arguments and result of the OPERATION= argument to the REDUCE intrinsic
function need to allow for parameterized data types with LEN parameters.
(Their values are required to be identical but this is not a numbered
constraint requiring a compilation time check).
Differential Revision: https://reviews.llvm.org/D125124
More information about the All-commits
mailing list