[PATCH] D83142: [flang] Make 'num_images()' intrinsic

Katherine Rasmussen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 3 11:58:56 PDT 2020


ktras created this revision.
ktras added reviewers: sscalpone, schweitz, tskeith, klausler.
ktras added a project: Flang.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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()'.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83142

Files:
  flang/lib/Evaluate/intrinsics.cpp
  flang/test/Semantics/call10.f90
  flang/test/Semantics/num_images.f90
  flang/unittests/Evaluate/intrinsics.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83142.275444.patch
Type: text/x-patch
Size: 4614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200703/76b1eb07/attachment.bin>


More information about the llvm-commits mailing list