aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPeter Steinfeld <psteinfeld@nvidia.com>2021-06-25 11:28:30 -0700
committerPeter Steinfeld <psteinfeld@nvidia.com>2021-06-28 11:09:24 -0700
commit57e53f013087d68305fe278aca0a92efc9b0e899 (patch)
treece9cb6cbc386f044f1cadd78b156ebd1ce6d1e9a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent4f5ebfdcd6c9d459e262d1815f49a45bad3cbcfc (diff)
downloadllvm-57e53f013087d68305fe278aca0a92efc9b0e899.zip
llvm-57e53f013087d68305fe278aca0a92efc9b0e899.tar.gz
llvm-57e53f013087d68305fe278aca0a92efc9b0e899.tar.bz2
[flang] Fix conformability for intrinsic procedures
There are situations where the arguments of intrinsics must be conformable, which is defined in section 3.36. This means they must have "the same shape, or one being an array and the other being scalar". But the check we were actually making was that their ranks were the same. This change fixes that and adds a test for the UNPACK intrinsic, where the FIELD argument "shall be conformable with MASK". Differential Revision: https://reviews.llvm.org/D104936
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions