Juan Manuel Martinez Caamaño via llvm-dev
2016-Mar-15 09:52 UTC
[llvm-dev] LLC C++ backend
Hello, Is the backend for generating C++ code(that generates llvm-ir) still working in the latest versions of the LLVM? I tried to do * llc -march=cpp file.ll* , and I got the following mesage: *llc: error: invalid target 'cpp'* I'm working on * LLVM version 3.8.0svn* * Optimized build with assertions.* * Built Sep 21 2015 (18:51:42).* * Default target: x86_64-unknown-linux-gnu* * Host CPU: westmere* * Registered Targets:* * arm - ARM* * armeb - ARM (big endian)* * thumb - Thumb* * thumbeb - Thumb (big endian)* * x86 - 32-bit X86: Pentium-Pro and above* * x86-64 - 64-bit X86: EM64T and AMD64* Thank you, Juan -- Juan Manuel Martinez Caamaño -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160315/5438341b/attachment.html>
Hi Juan,
CPP generating backend is still there.
Looks like in your build CPP target is not registered(Can verify with “llc
-version”).
During build, include CPP target in “LLVM_TARGETS_TO_BUILD” cmake variable.
Refer below page for more details:
http://llvm.org/docs/CMake.html#llvm-specific-variables
Thanks,
Ashutosh
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Juan
Manuel Martinez Caamaño via llvm-dev
Sent: Tuesday, March 15, 2016 3:23 PM
To: llvm-dev at lists.llvm.org
Subject: [llvm-dev] LLC C++ backend
Hello,
Is the backend for generating C++ code(that generates llvm-ir) still working in
the latest versions of the LLVM?
I tried to do
llc -march=cpp file.ll
, and I got the following mesage:
llc: error: invalid target 'cpp'
I'm working on
LLVM version 3.8.0svn
Optimized build with assertions.
Built Sep 21 2015 (18:51:42).
Default target: x86_64-unknown-linux-gnu
Host CPU: westmere
Registered Targets:
arm - ARM
armeb - ARM (big endian)
thumb - Thumb
thumbeb - Thumb (big endian)
x86 - 32-bit X86: Pentium-Pro and above
x86-64 - 64-bit X86: EM64T and AMD64
Thank you,
Juan
--
Juan Manuel Martinez Caamaño
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20160315/2ec66a87/attachment.html>