[llvm-dev] Compile for ARM SVE with the latest LLVM
Alex Susu via llvm-dev
llvm-dev at lists.llvm.org
Tue Mar 5 16:01:06 PST 2019
I would like to build some examples for ARM SVE.
I see the support for SVE is available in the AArch64 back end of the latest LLVM.
So I thought of using the latest LLVM distribution (revision 352287 from Jan 2019)
and not rely on the ARM HPC compiler from
at page 2-17, I give this command:
clang -O3 --target=aarch64-arm-none-eabi -march=armv8-a+sve -S test.c -mllvm
-debug # -emit-llvm
However, the resulting .s (or .ll file) does not contain code for ARM SVE, but vector
code ARM NEON.
Is there something I'm missing? Or do I really have to use ARM's HPC compiler?
Thank you very much,
More information about the llvm-dev