[all-commits] [llvm/llvm-project] c6a23d: [flang] Make 'num_images()' intrinsic

Katherine Rasmussen via All-commits all-commits at lists.llvm.org
Tue Jul 7 12:31:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c6a23df691fbfb1330d1fef71a4ac8b453b62a87
      https://github.com/llvm/llvm-project/commit/c6a23df691fbfb1330d1fef71a4ac8b453b62a87
  Author: Katherine Rasmussen <ktrasmussn at gmail.com>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M flang/documentation/Intrinsics.md
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/test/Semantics/call10.f90
    A flang/test/Semantics/num_images.f90
    M flang/unittests/Evaluate/intrinsics.cpp

  Log Message:
  -----------
  [flang] Make 'num_images()' intrinsic

I added 'num_images()' to the list of functions that are evaluated as intrinsic. I also added a test file in flang/test/Semantics to test calls to 'num_images()'. There was a call to 'num_images()' in flang/test/Semantics/call10.f90 that expected an error, now it no longer produces an error. So I edited that file accordingly. I also edited the intrinsics unit test to add further testing of 'num_images()'.

Differential Revision: https://reviews.llvm.org/D83142




More information about the All-commits mailing list