[PATCH] D84842: [flang] Expose specific to generic intrinsic name mapping

Jean Perier via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 06:15:16 PDT 2020


jeanPerier created this revision.
jeanPerier added reviewers: klausler, sscalpone, schweitz.
jeanPerier 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.
jeanPerier requested review of this revision.

The intrinsic lowering facility is based on the generic intrinsic names to avoid
duplicating implementations. Specific intrinsics call are re-written to call to
the generic versions by the front-end but this cannot be done when specific intrinsics
are passed as arguments (the rewrite would give illegal/ambiguous unparsed Fortran).
Solve the issue by making the specific to generic name mapping accessible to lowering
and can be later used to generate the unrestricted intrinsic functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84842

Files:
  flang/include/flang/Evaluate/intrinsics.h
  flang/lib/Evaluate/intrinsics.cpp
  flang/unittests/Evaluate/intrinsics.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84842.281548.patch
Type: text/x-patch
Size: 4766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200729/6fe537fb/attachment.bin>


More information about the llvm-commits mailing list