[PATCH] D83142: [flang] Make 'num_images()' intrinsic
Peter Klausler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 3 12:57:46 PDT 2020
klausler requested changes to this revision.
klausler added inline comments.
This revision now requires changes to proceed.
================
Comment at: flang/lib/Evaluate/intrinsics.cpp:584
// NULL() is a special case handled in Probe() below
+ {"num_images", {}, DefaultInt, Rank::scalar,
+ IntrinsicClass::transformationalFunction},
----------------
num_images is not an intrinsic procedure in subclause 16 of the standard; `INTRINSIC NUM_IMAGES` would not be a valid statement. It shouldn't be here with the actual intrinsics unless you're proposing to make it one as an extension.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83142/new/
https://reviews.llvm.org/D83142
More information about the llvm-commits
mailing list