search for: llvm_path

Displaying 12 results from an estimated 12 matches for "llvm_path".

Did you mean: dllvm_path
2013 Feb 04
2
[LLVMdev] Problem with PTX assembly printing (NVPTX backend)
Hi, > Can you post the llc command line you're using? Can you post an LLVM IR > file that causes this behavior? yes: ${LLVM_PATH}/bin/llc -o helloworld.s -march=nvptx helloworld.ll where LLVM_PATH my local installation path for LLVM. Also attaching helloworld.c: #include <stdio.h> int main(void) { printf("Hello World!\n"); return 0; } and helloworld.ll: ; ModuleID = 'helloworld.c' target...
2013 Feb 04
0
[LLVMdev] Problem with PTX assembly printing (NVPTX backend)
...hopefully I'll have something ready soon. On Mon, Feb 4, 2013 at 2:04 PM, <nkavv at physics.auth.gr> wrote: > Hi, > > > Can you post the llc command line you're using? Can you post an LLVM IR >> file that causes this behavior? >> > > yes: > > ${LLVM_PATH}/bin/llc -o helloworld.s -march=nvptx helloworld.ll > > where LLVM_PATH my local installation path for LLVM. > > Also attaching helloworld.c: > > #include <stdio.h> > > int main(void) { > printf("Hello World!\n"); > return 0; > } > > > &...
2016 Aug 01
2
LLVM Loop vectorizer - 2 vector.body blocks appear
Hello. Mikhail, with the more recent version of the LoopVectorize.cpp code (retrieved at the beginning of July 2016) I ran the following piece of C code: void foo(long *A, long *B, long *C, long N) { for (long i = 0; i < N; ++i) { C[i] = A[i] + B[i]; } } The vectorized LLVM program I obtain contains 2 vector.body blocks - one named
2009 Mar 20
0
[LLVMdev] Problem with MemoryDependenceAnalysis
On Mar 20, 2009, at 8:13 AM, Amr Yehia wrote: > Dear all, > > I am having a problem adding a MemoryDependenceAnalysis pass to a > Module > Pass i created, it gives me the following error when i add > (Info.addRequired<MemoryDependenceAnalysis>();) it in the > getAnalysisUsage(AnalysisUsage &Info) function. > If MemoryDependenceAnalysis requires any module
2009 Mar 20
2
[LLVMdev] Problem with MemoryDependenceAnalysis
...I am loading the CallGraph pass before it from my module Info.addRequired<CallGraph>(); Info.addPreserved<CallGraph>(); and from opt i tried first to call my module only and then tried to call -memdep before calling my module, but both gave the same errors opt $OPT_OPTIONS -load ${LLVM_PATH}/Release/lib/.libs/libDFGMODULEPASS.so -DFGModulePass < $2.bc and opt $OPT_OPTIONS -load ${LLVM_PATH}/Release/lib/.libs/libDFGMODULEPASS.so -memdep -DFGModulePass < $2.bc by the way ... i found another mail addressing the same problem as i have in the mailing list archive but i couldn...
2009 Mar 20
2
[LLVMdev] Problem with MemoryDependenceAnalysis
Dear all, I am having a problem adding a MemoryDependenceAnalysis pass to a Module Pass i created, it gives me the following error when i add (Info.addRequired<MemoryDependenceAnalysis>();) it in the getAnalysisUsage(AnalysisUsage &Info) function. adding callgraph pass ... done opt: /net/home/yehia/llvm/llvm-2.4/include/llvm/Target/TargetData.h:114:
2009 Mar 24
1
[LLVMdev] Problem with MemoryDependenceAnalysis
...new Module pass and tried to getAnalysis of MemoryDependenceAnalysis from it, i didn't use TargetData directly to regenerate the error i am attaching a c file containing an example code to regenerate the error. with its Makefile the command line i used is: opt -time-passes -analyze -load ${LLVM_PATH}/Release/lib/.libs/libMYMODULEPASS.so -MyModulePass < test.bc i tried the same but from a function pass and it worked. John Criswell wrote: > Amr Yehia wrote: > >> no .. i am calling a function pass from a module pass, adding other >> function passes to my module pass...
2013 Feb 04
0
[LLVMdev] Problem with PTX assembly printing (NVPTX backend)
On Mon, Feb 4, 2013 at 1:09 PM, <nkavv at physics.auth.gr> wrote: > Hi Justin, > > > Has anyone had similar problems with the NVPTX backend? Shouldn't this >>> code be linked to the AsmPrinter library for NVPTX (already)? >>> >> >> What do you mean by "doesn't work"? The AsmPrinter library really houses >> the MCInst
2013 Feb 04
3
[LLVMdev] Problem with PTX assembly printing (NVPTX backend)
Hi Justin, >> Has anyone had similar problems with the NVPTX backend? Shouldn't this >> code be linked to the AsmPrinter library for NVPTX (already)? > > What do you mean by "doesn't work"? The AsmPrinter library really houses > the MCInst printer, which isn't implemented for NVPTX yet. The older > assembly printer works just fine. This is
2007 Oct 30
0
[LLVMdev] collect2 hack
...all, After a long time, I've updated to new LLVM. Everything compiles fine (which is great), but I see that compiling/linking into bitcode files still hasn't been solved in a satisfying way. Until that gets resolved, I'm sending an updated script, that will do the trick. Usage: cd $LLVM_PATH/libexec/gcc/x86_64-unknown-linux-gnu/4.0.1/ mv collect2 llvm-collect2 copy the attached file to that directory The new collect will call llvm-collect2, unless you pass -enable-ld to it, in which case it will call llvm-ld, and link the bc files. To build an average app into bc files: 1) configure...
2009 Mar 24
0
[LLVMdev] Problem with MemoryDependenceAnalysis
Amr Yehia wrote: > no .. i am calling a function pass from a module pass, adding other > function passes to my module pass works, but when i try to add > MemoryDependenceAnalysis it gives error > I'm going to assume that you're running your passes via a specially built tool and not as a set of passes loaded into the opt program. If this assumption is wrong, please let
2009 Mar 24
2
[LLVMdev] Problem with MemoryDependenceAnalysis
no .. i am calling a function pass from a module pass, adding other function passes to my module pass works, but when i try to add MemoryDependenceAnalysis it gives error I want to report a bug but i don't know if this is a real bug or i am doing something wrong, knowing that i am adding other function passe to my module pass and it works fine. the error i get: adding callgraph pass ...