[flang-dev] Usage of vector pgmath symbols in Flang

Varun Jayathirtha via flang-dev flang-dev at lists.llvm.org
Tue Sep 17 10:31:22 PDT 2019


Hi Kiran,

Vector pgmath routines are present in the Flang libraries, however the Flang front end only generates scalar pgmath calls.

The LLVM vectorizer has been modified to recognize scalar pgmath calls and generate appropriate vector calls. Here's the PR that introduced this change if you're interested:
https://github.com/flang-compiler/llvm/pull/43/files

Regards,
Varun Jayathirtha

From: flang-dev <flang-dev-bounces at lists.flang-compiler.org> On Behalf Of Kiran Chandramohan
Sent: Friday, September 13, 2019 7:11 AM
To: flang-dev at lists.flang-compiler.org; flang-dev at lists.llvm.org
Subject: [Flang-dev] Usage of vector pgmath symbols in Flang

Hi,

Are vector pgmath symbols called directly in Flang? Are they directly used in the Flang libraries?

As far as I understand it is scalar pgmath symbols that are always generated by Flang and these are then converted to vector symbols by veclib in LLVM.

Thanks,
Kiran
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/flang-dev/attachments/20190917/9c803d81/attachment.html>


More information about the flang-dev mailing list