search for: aggarwa4

Displaying 13 results from an estimated 13 matches for "aggarwa4".

Did you mean: aggarwal
2011 May 23
2
[LLVMdev] Debug llc crash using bugpoint
Hi, What is the best way to debug an llc crash using bugpoint? I am getting the following crash that I would like to reduce llc: /home/vadve/aggarwa4/llvm29/llvm-2.9/lib/MC/MCAsmStreamer.cpp:273: virtual void<unnamed>::MCAsmStreamer::EmitLabel(llvm::MCSymbol*): Assertion `Symbol->isUndefined() && "Cannot define a symbol twice!"' failed. 0 llc 0x00000000013ae046 1 llc 0x00000000013ae5d4 2...
2011 May 23
0
[LLVMdev] Debug llc crash using bugpoint
...lt;bitcode file> --tool-args -- <llc arguments> Cameron On May 23, 2011, at 1:33 PM, Arushi Aggarwal wrote: > Hi, > > What is the best way to debug an llc crash using bugpoint? > > I am getting the following crash that I would like to reduce > > llc: /home/vadve/aggarwa4/llvm29/llvm-2.9/lib/MC/MCAsmStreamer.cpp:273: virtual void<unnamed>::MCAsmStreamer::EmitLabel(llvm::MCSymbol*): Assertion `Symbol->isUndefined() && "Cannot define a symbol twice!"' failed. > 0 llc 0x00000000013ae046 > 1 llc 0x0000000001...
2011 May 12
2
[LLVMdev] Machine Function Pass
I tried llc -load /localhome/aggarwa4/llvm27/llvm-obj/projects/poolalloc/Debug/lib/libCodegen.so --help But this does not show my pass. It says it is an unknown command line argument. Arushi On Thu, May 12, 2011 at 11:21 AM, John Criswell <criswell at illinois.edu> wrote: > On 5/12/11 11:17 AM, Arushi Aggarwal wrote: >&g...
2011 Feb 24
2
[LLVMdev] Get Element Ptr inst
...inbounds [2 x i16]* %tmp124, i64 0, i64 0, !dbg !1051 ; <i16*> [#uses=1] can I replace the 2nd one with %tmp126 = getelementptr inbounds %struct.termbox* %termptr.1, i32 0, i32 5, i64 0, i64 0 ; <i16*> When I try to create this instruction i get the follwoing error, opt: /home/vadve/aggarwa4/llvm27/llvm-2.7/include/llvm/Instructions.h:276: const llvm::Type* llvm::checkType(const llvm::Type*): Assertion `Ty && "Invalid GetElementPtrInst indices for type!"' failed. Thanks! Arushi -------------- next part -------------- An HTML attachment was scrubbed... URL: <ht...
2011 May 12
0
[LLVMdev] Machine Function Pass
On 5/12/11 11:46 AM, Arushi Aggarwal wrote: > I tried > llc -load /localhome/aggarwa4/llvm27/llvm-obj/projects/poolalloc/Debug/lib/libCodegen.so > --help > > But this does not show my pass. It says it is an unknown command line argument. I'm assuming you've looked at other MachineFunctionPass'es and have registered yours in the same way that they do. I don...
2011 Feb 24
0
[LLVMdev] Get Element Ptr inst
...[2xi16] *. In the new GEP you've created, I think you can remove the first i64 0 index because the result of indexing i32 0 and i32 5 is a [2 x i16] and not a [2 x i16] *. -- John T. > > When I try to create this instruction i get the follwoing error, > > opt: > /home/vadve/aggarwa4/llvm27/llvm-2.7/include/llvm/Instructions.h:276: > const llvm::Type* llvm::checkType(const llvm::Type*): Assertion `Ty && > "Invalid GetElementPtrInst indices for type!"' failed. > > Thanks! > Arushi > > > > > > >
2011 Feb 24
1
[LLVMdev] Get Element Ptr inst
...39;ve created, I think you can remove the first i64 0 index > because the result of indexing i32 0 and i32 5 is a [2 x i16] and not a [2 x > i16] *. > > -- John T. > > > >> When I try to create this instruction i get the follwoing error, >> >> opt: /home/vadve/aggarwa4/llvm27/llvm-2.7/include/llvm/Instructions.h:276: >> const llvm::Type* llvm::checkType(const llvm::Type*): Assertion `Ty && >> "Invalid GetElementPtrInst indices for type!"' failed. >> >> Thanks! >> Arushi >> >> >> >> >&g...
2011 Feb 22
2
[LLVMdev] Clone a function and change signature
...0 = load i32* %yy, align 4, !dbg !1027 ; <i32> [#uses=1] %tmp11 = trunc i32 %tmp10 to i16, !dbg !1027 ; <i16> [#uses=1] store i16 %tmp11, i16* %y, align 2, !dbg !1027 ret void return: ; preds = %entry ret void } opt: /home/vadve/aggarwa4/llvm27/llvm-2.7/lib/VMCore/Instructions.cpp:307: void llvm::CallInst::init(llvm::Value*, llvm::Value* const*, unsigned int): Assertion `(NumParams == FTy->getNumParams() || (FTy->isVarArg() && NumParams > FTy->getNumParams())) && "Calling a function with bad signatu...
2011 May 12
2
[LLVMdev] Machine Function Pass
What is the correct way to register/run a machine function pass, so that it can be dynamically loaded? Thanks, Arushi
2011 May 12
0
[LLVMdev] Machine Function Pass
On 5/12/11 11:17 AM, Arushi Aggarwal wrote: > What is the correct way to register/run a machine function pass, so > that it can be dynamically loaded? Machine function passes are loaded into llc to be used for code generation, from the looks of it. Does this answer your question? -- John T. > Thanks, > Arushi > _______________________________________________ > LLVM
2011 May 18
0
[LLVMdev] 2.9 pass manager asserts "Unable to handle Pass that requires lower level Analysis pass"
...s1::ID = 0; bool Pass1::runOnModule(Module &M) { M.dump(); return false; } static RegisterPass<Pass2> Y("pass2", "Phase 2"); char Pass2::ID = 0; bool Pass2::runOnModule (Module &M) { M.dump(); return false; } I hit the following assert opt: /home/vadve/aggarwa4/llvm29/llvm-2.9/lib/VMCore/PassManager.cpp:1613: virtual void llvm::MPPassManager::addLowerLevelRequiredPass(llvm::Pass*, llvm::Pass*): Assertion `(P->getPotentialPassManagerType() < RequiredPass->getPotentialPassManagerType()) && "Unable to handle Pass that requires lower lev...
2011 Feb 22
0
[LLVMdev] Clone a function and change signature
...i32> [#uses=1] > %tmp11 = trunc i32 %tmp10 to i16, !dbg !1027 ; <i16> [#uses=1] > store i16 %tmp11, i16* %y, align 2, !dbg !1027 > ret void > > return: ; preds = %entry > ret void > } > > opt: > /home/vadve/aggarwa4/llvm27/llvm-2.7/lib/VMCore/Instructions.cpp:307: > void llvm::CallInst::init(llvm::Value*, llvm::Value* const*, unsigned > int): Assertion `(NumParams == FTy->getNumParams() || (FTy->isVarArg() > && NumParams > FTy->getNumParams())) && "Calling a functio...
2011 Feb 23
0
[LLVMdev] LLVMdev Digest, Vol 80, Issue 37-Help to unsubscribe
...0 = load i32* %yy, align 4, !dbg !1027 ; <i32> [#uses=1] %tmp11 = trunc i32 %tmp10 to i16, !dbg !1027 ; <i16> [#uses=1] store i16 %tmp11, i16* %y, align 2, !dbg !1027 ret void return: ; preds = %entry ret void } opt: /home/vadve/aggarwa4/llvm27/llvm-2.7/lib/VMCore/Instructions.cpp:307: void llvm::CallInst::init(llvm::Value*, llvm::Value* const*, unsigned int): Assertion `(NumParams == FTy->getNumParams() || (FTy->isVarArg() && NumParams > FTy->getNumParams())) && "Calling a function with bad signatu...