similar to: [LLVMdev] How to choose targets to build in CMake?

Displaying 20 results from an estimated 400 matches similar to: "[LLVMdev] How to choose targets to build in CMake?"

2011 Mar 15
0
[LLVMdev] How to choose targets to build in CMake?
On Tue, Mar 15, 2011 at 6:34 PM, Dongrui She <sarevokcc at gmail.com> wrote: > However, I get the following errors whenever I don't include X86 in the > target list: on top of trunk, it seems cmake requires at least "native" (for yours, X86) target. (I reconfirmed with -DLLVM_TARGETS_TO_BUILD=ARM on x86) For workaround, you have to include "X86" always.
2010 Aug 02
0
[LLVMdev] CMake broken?
I'm seeing this as well, but for the LLVMAlphaAsmParser: CMake Error at cmake/modules/LLVMConfig.cmake:90 (message): Library LLVMAlphaAsmPrinter not found in list of llvm libraries. Call Stack (most recent call first): cmake/modules/LLVMConfig.cmake:27 (explicit_map_components_to_libraries) cmake/modules/LLVMConfig.cmake:20 (explicit_llvm_config) cmake/modules/AddLLVM.cmake:61
2010 Aug 02
6
[LLVMdev] CMake broken?
Hi all, CMake seems to have broken in the last few days - or is it just me? tcare:llvm-release tcare$ make -j4 -- Target triple: x86_64-apple-darwin10.5.0 -- Native target architecture is X86 -- Threads enabled. -- Building with -fPIC -- Targeting X86 CMake Error at cmake/modules/LLVMConfig.cmake:90 (message): Library LLVMARMAsmParser not found in list of llvm libraries. Call Stack (most
2016 May 09
2
Is it possible to avoid inserting spill/split code in certain instruction sequence in RA?
Hi all, I am working on an out-of-tree target. I am wondering if it is possible to force the register allocator (and/or spiller) to not break certain instruction sequence. For example: phys_reg = MI1 vreg1 vreg 2 = MI2 phys_reg Is there a way to tell RA/spiller not to insert COPY or spill between MI1 and MI2? I am using greedy register allocator and inline spiller. -- Regards, Dongrui
2008 Nov 14
0
[LLVMdev] bugs in CMake build
[I'm cc-ing the mailing list because there are some topics here of general interest] HyperQuantum <hyperquantum at gmail.com> writes: >> CMAKE_SOURCE_DIR should be the same as LLVM_MAIN_SRC_DIR. If you know an >> scenario where this is not true, please describe it. > > In my case it's not true. I have put LLVM in a subdirectory of my > project
2013 Jan 07
3
[LLVMdev] Generating unusual instruction
I have seen that most of the targets do comparison and branching in two separate instructions e.g. 'cmpl' followed by 'br' in x86 or the like. LLVM IR is also in same manner. I want to implement comparison+branching in one instruction like beq r1, r2, .label #if r1==r2 then jump to .label How to merge two instruction into one. Regards Vikram Singh -- View this
2008 Nov 14
3
[LLVMdev] bugs in CMake build
I am using LLVM as back end for my compiler, and until now I have used my own CMake build system for LLVM. But now LLVM has a CMake build system of its own, so when upgrading my LLVM version I decided to move to the 'official' one. It's not an easy transition, the build fails. I already found one bug: in some files the variable CMAKE_SOURCE_DIR is used for the LLVM top-level source
2020 Sep 07
2
LTO'd / PGO'd Pre-built Release Binary
A compiler built with LTO / PGO can significantly improve build times. Locally I see ~10% reduction in compilation times of Debug or Release versions of clang/llvm using an LTO'd clang compiler. This is not really news of course (e.g. recently also reconfirmed in https://linuxplumbersconf.org/event/7/contributions/802/), but that made me curious if we can and/or should enable LTO and/or PGO to
2010 Jul 26
1
[LLVMdev] How to specify patterns for instructions with accumulator in selection DAG?
Hi, I am wondering how to specify the selection DAG patterns for instructions that use accumulator. For example multiply-accumulate instruction with one destination operand and two source operands: mac $dst, $src1, $src2 ;; $dst += $src1*$src2 Seems that it has a cycle in the pattern. So how do I specify it in the DAG? There are a few instructions in the ARM backend like this one, but the
2010 Sep 20
1
[LLVMdev] Is it possible to have multiple stacks in the backend?
Hi all, I'm developing a backend for a custom architecture. The target architecture has different memory for different data types(vector and scalar). So is it possible to maintain two different stacks, one for vector and the other for scalar? ---- Regards, Dongrui She -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Mar 21
1
[LLVMdev] How to get register liveness information for each MachineBasicBlock
Hi all, I try to print the live-in and live-out registers for each basic block in a backend for my own target. And I can get a list of live-in registers directly in MachineBasicBlock. Is there a quick way to also get the list of live-out registers without redoing the analysis. I think this information is computed and stored somewhere. -- Regards, Dongrui -------------- next part
2013 Jan 07
0
[LLVMdev] Generating unusual instruction
Hi, Have you try to directly describe such patterns in tblgen file? Like this: (brcond (i32 (cond_op RC:$rs, RC:$rt)), bb:$offset) MIPS backend does that. I also do this in my own backend, and seem to be working fine. On Mon, Jan 7, 2013 at 11:55 AM, Vikram Singh <vsp1729 at gmail.com> wrote: > I have seen that most of the targets do comparison and branching > in two separate
2012 Aug 10
1
[LLVMdev] how to compile my LLVM project with CMake (on Windows)?
hi, i already successfully compiled & installled LLVM 3.1 on Windows (with CMake & Visual Studio 2008). next, i am trying to understand how to create a standalone LLVM project, and compile that on Windows (also using CMake & Visual Studio 2008). to start, i picked up the "examples\BrainF" project, renamed it to "examples\BrainF2" (and i still put BrainF2 under the
2012 Sep 06
2
[LLVMdev] How to build the 'example' projects ?
Hello, I'm not very familiar with the autotools, so please bear with this message if the solution is too obvious. I am using 64 bit Linux and gcc 4.7.1. I just built llvm and clang from the trunk and as the binaries installed in /usr/local/bin seem to be working correctly, I guess the compilation has gone okay. Note that, at this point, I'm not trying to make a separate project, which is
2010 Sep 30
2
-r required when -a already specified in --files-from?
Hi all, I am using rsync v.3.0.7 (protocol v30) on ubuntu 10.04. My rsync line looks like this, cd /home/shantanu/ rsync -av --files-from=bin/include-to-rsync.dat /home/shantanu/ \ /media/transcend/backup_laptop/shantanu/ include-to-rsync had directories in this format, bank/ dwhelper/ clients/ When I ran the script I noticed that a files in bank/10-11 were not getting synced. Upon
2012 Apr 10
2
[LLVMdev] Building LLVM+clang on Windows
I'm following the instructions here: http://clasg.llvm.org/get_started.html and, while running cmake, I get: > CMake Error at cmake/modules/LLVM-Config.cmake:141 (message): > Library `vectorize' not found in list of llvm libraries. > Call Stack (most recent call first): > cmake/modules/LLVM-Config.cmake:54 (explicit_map_components_to_libraries) >
2018 Aug 08
3
Error Calling eraseFromParent()
LLVM is built in Release mode. The version is 6.0.0. I think that a similar code worked on verison 3.9.0. It is probably a null pointer dereference occurring in eraseFromParent(). I checked and reconfirmed that the instruction had no uses. Perhaps I should rebuild LLVM. Thanks. On Wed, Aug 8, 2018 at 9:03 PM, mayuyu.io <admin at mayuyu.io> wrote: > Hmmmm that’s strange. Do you get an
2014 May 15
1
Asterisk 1.8 and calendar intergration
Hi I'm using asterisk 1.8.25.0 on CentOS 6. I have compiled it with all the calendar modules: *CLI> module show like calendar Module Description Use Count res_calendar.so Asterisk Calendar integration 4 res_calendar_ews.so Asterisk MS Exchange Web Service Calenda 0 res_calendar_caldav.so
1999 May 08
1
JetDirect
Hi, WOW, this was posted over a year ago! A response now. The problem still exists. As reconfirmed in a post i read not to long ago (within the last 2 weeks?). HP jetdirect cards can only do one thing at a time. (HP has been writing Jetdirect firmware for 5 years, PLEASE HP you _MUST_ have the ability to fix it?! Or don't you??) This can be confirmed if you have an NT only shop. In the
2017 Nov 16
2
Correctly linking against libLLVM (single shared library build)
On 11/14/2017, 01:26 AM, Chris Bieneman wrote: > Sorry for the delayed response. I've been out of town a lot lately. > > The documentation you referenced is unfortunately out of date (you might notice it still references autoconf). I'll see if I can find time to update it, but the guidance should be to use the `llvm_config` CMake function instead. The proper usage of that in the