[all-commits] [llvm/llvm-project] 2472b6: [flang] Add one semantic check for masked array as...
PeixinQiao via All-commits
all-commits at lists.llvm.org
Fri May 6 07:20:50 PDT 2022
Author: PeixinQiao <qiaopeixin at huawei.com>
Date: 2022-05-06 (Fri, 06 May 2022)
[flang] Add one semantic check for masked array assignment
As Fortran 2018 states, in each where-assignment-stmt, the mask-expr and
the variable being defined shall be arrays of the same shape. The
previous check does not consider checking if it is an array.
Reviewed By: klausler
Differential Revision: https://reviews.llvm.org/D125022
More information about the All-commits