[all-commits] [llvm/llvm-project] d80d81: [flang] Fix check for assumed-size arguments to SH...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Wed May 11 10:33:33 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d80d812df0c829b6dbbcb968e7c3cf3c6be6ff41
https://github.com/llvm/llvm-project/commit/d80d812df0c829b6dbbcb968e7c3cf3c6be6ff41
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-05-11 (Wed, 11 May 2022)
Changed paths:
M flang/lib/Evaluate/intrinsics.cpp
Log Message:
-----------
[flang] Fix check for assumed-size arguments to SHAPE() & al.
The predicate that is used to detect an invalid assumed-size argument
to the intrinsic functions SHAPE, SIZE, & LBOUND gives false results
for arguments whose shapes are not calculatable at compilation time.
Replace with an explicit test for an assumed-size array dummy argument
symbol.
Differential Revision: https://reviews.llvm.org/D125342
More information about the All-commits
mailing list