[flang] Shape analysis for result of MATMUL
authorpeter klausler <pklausler@nvidia.com>
Sat, 20 Jun 2020 01:11:46 +0000 (18:11 -0700)
committerpeter klausler <pklausler@nvidia.com>
Mon, 22 Jun 2020 16:45:30 +0000 (09:45 -0700)
commit16d24e45430c930e8f5f0aedc99b262fcdf35d26
tree76e36eb655828bd739b5c8d733eb726e245818cd
parent1728dec255a5336303b301e26ec22eca2000b593
[flang] Shape analysis for result of MATMUL

Implement shape analysis for the result of the MATMUL
generic transformational intrinsic function, based on
the shapes of its arguments.  Correct the names of the
arguments to match the standard, too.

Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D82250
flang/lib/Evaluate/intrinsics.cpp
flang/lib/Evaluate/shape.cpp
flang/lib/Semantics/check-call.cpp