[PATCH] D120403: [WIP][Flang] Lower Fortran intrinsic to a runtime call/llvm intr
Kiran Chandramohan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 23 04:15:36 PST 2022
kiranchandramohan created this revision.
Herald added a reviewer: sscalpone.
Herald added a subscriber: mehdi_amini.
Herald added a project: Flang.
kiranchandramohan requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.
This patch brings in code which can lower a Fortran intrinsic to
a runtime call or an llvm intrinsic. For math intrinsics the
runtime call is to the `pgmath` library. Non-math intrinsics are
covered by the Flang runtime.
The `abs` intrinsic is lowered.
This patch,
-> was originally written by Jean Perier <jperier at nvidia.com>, Eric Schweitz <eschweitz at nvidia.com>,
zacharyselk <zrselk at gmail.com>, V Donaldson <vdonaldson at nvidia.com>, Valentin Clement <clementval at gmail.com>
-> is part of upstreaming from the fir-dev branch of https://github.com/flang-compiler/f18-llvm-project
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D120403
Files:
flang/lib/Lower/IntrinsicCall.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120403.410771.patch
Type: text/x-patch
Size: 21146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220223/9d400555/attachment.bin>
More information about the llvm-commits
mailing list