search for: cs326

Displaying 11 results from an estimated 11 matches for "cs326".

Did you mean: cs321
2004 Apr 24
0
[LLVMdev] cs326 mp help
...iated, Nadir Kiyanclar kiyancla at uiuc.edu The command I use (licm is the pass I'm writing) ========================= opt -load ../../../lib/Debug/liblicm.so -licm < loop1.bc > loop1.aftermypass.bc The assertion: ====================================== opt: /usr/dcs/csil-linux/projects/cs326/kiyancla/llvm/include/llvm/Pass.h:182: AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*) const [with AnalysisType = llvm::LoopInfo]: Assertion `i != AnalysisImpls.size() && "getAnalysis*() called on an analysis that we not " "'required' by pass!"...
2004 Apr 24
0
[LLVMdev] cs326 mp help - solved
Ah, I see that getAnalysisUsage has a const in its signature, so I was defining a whole new function, not overriding one. Fixing that took care of the problem. Sorry to bother! Nadir Kiyanclar kiyancla at uiuc.edu
2004 Apr 14
2
[LLVMdev] FunctionPassManager Issue
Hi, I'm a cs326 student that uses LLVM for our MP. While some of the COOL program can be run seamlessly, I get the following assertion error for many of them. lli: Pass.cpp:95: bool llvm::FunctionPassManager::run(llvm::Function&): >> Assertion `(&F == mF) && "ModuleProvider does not c...
2004 Apr 14
1
[LLVMdev] Linking strncpy
Hi, I'm working on a CS326 compiler project, and I'm having some problems using string functions. Some LLVM programs produced are either aborting or giving incorrect results; however, if I disassemble the LLVM bytecode and recompile with GCC, everything works fine. I encountered the following error when running lli wit...
2004 Apr 14
1
[LLVMdev] Unknown LLVM intrinsic
...ng the intrinsic llvm.memcpy which I declare at the top of my file: declare void %llvm.memcpy(sbyte*, sbyte*, uint, uint) and then later use as such: call void %llvm.memcpy(sbyte* %t12, sbyte* %t13, uint %t9, uint 0) However when trying to compile the llvm program I get this: cpp -I/home/class/cs326/mp/mp2/lib cgen_test.ll | sed -e"s/#.*//" > cgen_test.bc.exp llvm-as -f -o cgen_test.bc cgen_test.bc.exp llvm-as: Function.cpp:232: unsigned int llvm::Function::getIntrinsicID() const: Assertion `0 && "Unknown LLVM intrinsic function!"' failed. make: *** [cgen_t...
2004 Apr 14
0
[LLVMdev] FunctionPassManager Issue
...me()); - assert((&F == mF) && "ModuleProvider does not contain this function!"); MP->materializeFunction(&F); return PM->run(F); } -Chris > Chris Lattner wrote: > > >On Wed, 14 Apr 2004, Alex Li wrote: > > > > > >>I'm a cs326 student that uses LLVM for our MP. While some of the COOL > >>program can be run seamlessly, I get the following assertion error for > >>many of them. > >> > >>lli: Pass.cpp:95: bool llvm::FunctionPassManager::run(llvm::Function&): > >> > >>...
2004 May 02
1
[LLVMdev] hoisting problem.
Hi, First, sorry in advance for pasting code like this :) I'm doing a simple optimization pass for a cs326 class project. The pass in question is LICM, and I'm getting an assertion when I try to hoist an instruction. My hoist function is below. I dont think I need that copying in there, that was just something people on the newsgroup suggested. I get the same assertion regardless. So, th...
2004 Apr 14
5
[LLVMdev] Linking strncpy
...ner <sabre at nondot.org> ----- Date: Wed, 14 Apr 2004 19:25:45 -0500 (CDT) From: Chris Lattner <sabre at nondot.org> To: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] Linking strncpy Reply-To: llvmdev at cs.uiuc.edu On Wed, 14 Apr 2004, Eric Zimmerman wrote: > I'm working on a CS326 compiler project, and I'm having some problems > using string functions. Some LLVM programs produced are either > aborting or giving incorrect results; however, if I disassemble the > LLVM bytecode and recompile with GCC, everything works fine. > > I encountered the following er...
2004 Apr 14
0
[LLVMdev] Linking strncpy
...gt; Date: Wed, 14 Apr 2004 19:25:45 -0500 (CDT) > From: Chris Lattner <sabre at nondot.org> > To: llvmdev at cs.uiuc.edu > Subject: Re: [LLVMdev] Linking strncpy > Reply-To: llvmdev at cs.uiuc.edu > > On Wed, 14 Apr 2004, Eric Zimmerman wrote: > > I'm working on a CS326 compiler project, and I'm having some problems > > using string functions. Some LLVM programs produced are either > > aborting or giving incorrect results; however, if I disassemble the > > LLVM bytecode and recompile with GCC, everything works fine. > > > > I enc...
2004 Apr 14
2
[LLVMdev] Linking strncpy
...5 -0500 (CDT) > > From: Chris Lattner <sabre at nondot.org> > > To: llvmdev at cs.uiuc.edu > > Subject: Re: [LLVMdev] Linking strncpy > > Reply-To: llvmdev at cs.uiuc.edu > > > > On Wed, 14 Apr 2004, Eric Zimmerman wrote: > > > I'm working on a CS326 compiler project, and I'm having some problems > > > using string functions. Some LLVM programs produced are either > > > aborting or giving incorrect results; however, if I disassemble the > > > LLVM bytecode and recompile with GCC, everything works fine. > >...
2004 Apr 15
0
[LLVMdev] Linking strncpy
...Date: Wed, 14 Apr 2004 19:25:45 -0500 (CDT) > From: Chris Lattner <sabre at nondot.org> > To: llvmdev at cs.uiuc.edu > Subject: Re: [LLVMdev] Linking strncpy > Reply-To: llvmdev at cs.uiuc.edu > > On Wed, 14 Apr 2004, Eric Zimmerman wrote: > >>I'm working on a CS326 compiler project, and I'm having some problems >>using string functions. Some LLVM programs produced are either >>aborting or giving incorrect results; however, if I disassemble the >>LLVM bytecode and recompile with GCC, everything works fine. >> >>I encountered...