[llvm-dev] Compile for ARM SVE with the latest LLVM

Will Lovett via llvm-dev llvm-dev at lists.llvm.org
Thu Sep 12 02:55:56 PDT 2019


Thanks Itaru,

The 20.0 release of our commercial compiler will be based on the LLVM 9 release, so should help slightly there.  I’m afraid that producing a public source code release is not on our roadmap, as I believe this would distract our engineering team away from the main upstreaming work.

I do appreciate your enthusiasm here!  It should not be too long until we have enough functional infrastructure in place upstream for people outside of Arm to collaborate effectively on it.  For now, we’re extremely grateful for code reviews.

Regards,

Will.


Will Lovett
Technical Product owner
Compilers & Libraries
Arm Allinea Studio

On 12/09/2019, 10:04, "Itaru Kitayama" <itaru.kitayama at gmail.com<mailto:itaru.kitayama at gmail.com>> wrote:

Will,
At RIKEN, we have a licence for the Arm Compiler which produces clean SVE code well, even though that's based upon
7.1.0, but that's a reliable toolchain that enables us for gearing up for the FUGAKU supercomputer. However, given Clang trunk is already
in 10 series, lots of good features/enhancements are expected there thus, we're just wondering whether we are honored to
use the current implementation provided by Arm so we can work together.

Good luck to you Arm folks with the on-going work (with the RISC-V community)! We hope the "Great" merge will happen
sooner than predicted.

Thanks,
Itaru.

On Thu, Sep 12, 2019 at 5:44 PM Will Lovett <Will.Lovett at arm.com<mailto:Will.Lovett at arm.com>> wrote:
Hi Itaru,

(and thanks for the replies on this Renato).

We (Arm HPC) initially put up that github branch as an aid to the discussions on upstream SVE support.  The branch was very old (LLVM-5 based!), and various aspects of our implementation have changed significantly, following discussions with the community.  For this reason, we felt that branch was unhelpful at this point, so have removed it.

The team are working hard on getting SVE codegen support into LLVM, but it’s not there yet.  For now, this leaves the following options for testing vectorization with SVE:

· Get an up to date GNU compiler, which has SVE vectorization support

· Use Arm Compiler for Linux (the new name for Arm Compiler for HPC)

If you’re interested in the latter option, feel free to give me a mail (will.lovett at arm dot com).  Depending on your use-case, there may be scope for arranging a license.

Thanks,

Will.


Will Lovett
Technical Product owner
Compilers & Libraries
Arm Allinea Studio

On 11/09/2019, 22:31, "llvm-dev on behalf of Itaru Kitayama via llvm-dev" <llvm-dev-bounces at lists.llvm.org<mailto:llvm-dev-bounces at lists.llvm.org> on behalf of llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote:

Renato et al.
In the meantime, is there an out of tree branch I mean, other than LLVM trunk so I can test how much I can SVE vectorize my code with it?

Arm seemed to gave taken down the GitHub branch for sometime.

On Wed, Sep 11, 2019 at 20:41 Renato Golin <rengolin at gmail.com<mailto:rengolin at gmail.com>> wrote:
On Wed, 11 Sep 2019 at 06:13, Itaru Kitayama via llvm-dev
<llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote:
> Hi,
> I'm still seeing the same ie trying to produce SVE instructions but
> resulted in NEONs with Clang as of Sep. 10th.
> http://lists.llvm.org/pipermail/llvm-dev/2019-March/130788.html

Hi Itaru-san,

IR SVE implementation is ongoing, CC'ing Graham who is leading that effort.

I'm hoping we can have something working before the next release is
branched (Dec/Jan), but I don't expect it to be fully featured (inline
asm, full ACLE, auto-vec in all NEON cases, etc).

cheers,
--renato
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.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190912/61d907fc/attachment.html>


More information about the llvm-dev mailing list