[cfe-dev] RFC for Arbitrary Precision Integers-

Tingyuan LIANG via cfe-dev cfe-dev at lists.llvm.org
Sun Mar 10 06:35:47 PDT 2019

Dear Erich,

    Hi! Thanks a lot for your sharing!!!
    The arbitrary integer type you extended is exactly what I am trying to implement. However, the solution to dealing with the source code with arbitrary precision integer, which I am trying to implement at the IR level, is quite ugly, since I am new to Clang infrastructures.
    Your extension is really helpful for people who deal with FPGAs and the source codes for High-Level Synthesis!!!

Best regards,
Tingyuan LIANG
MPhil Student
Department of Electronic and Computer Engineering
The Hong Kong University of Science and Technology
From: Keane, Erich <erich.keane at intel.com>
Sent: Friday, March 8, 2019 4:33 AM
To: Tingyuan LIANG; Clang Dev
Subject: RFC for Arbitrary Precision Integers-

Hi all, I’ve just uploaded a review here: https://reviews.llvm.org/D59105

A little more than a year ago, I created an arbitrary precision integer for an internal customer, and have now been cleared to release this to community.  I’m hoping that this will be sufficiently interesting to others to be of value.

The “elevator pitch” is that we expose the iN LLVM-IR integer types in Clang such that a sufficiently motivated code generator could take advantage of the smaller sizes.  This is particularly useful for FPGAs, though I’d imagine other users are around.

There are further details in the commit message, and I would love review input both from a high level perspective as well as a code review on this.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190310/e0ee1e70/attachment.html>

More information about the cfe-dev mailing list