[flang] Add team_type to num_images intrinsic call
authorKatherine Rasmussen <ktrasmussn@gmail.com>
Tue, 31 May 2022 20:15:54 +0000 (13:15 -0700)
committerKatherine Rasmussen <ktrasmussn@gmail.com>
Tue, 14 Jun 2022 18:28:46 +0000 (11:28 -0700)
commit473d780692ee06683cdd82999bf31fcbea065061
tree757ee8e5f8b785309d880902030a81659dc20001
parente7c72d69ac0d504f52bed643b298b50904c6b387
[flang] Add team_type to num_images intrinsic call

num_images had previously been added to the list of intrinsics
before the type team_type had been implemented. Now that team_type
is implemented, add the num_images call that has the team argument.
Update the semantics tests for num_images.

Reviewed By: craig.rasmussen

Differential Revision: https://reviews.llvm.org/D126734
flang/lib/Evaluate/intrinsics.cpp
flang/test/Semantics/num_images01.f90
flang/test/Semantics/num_images02.f90