search for: vrinfo

Displaying 5 results from an estimated 5 matches for "vrinfo".

Did you mean: rinfo
2004 Sep 01
1
[LLVMdev] Register allocator segfault
...Program received signal SIGSEGV, Segmentation fault. 0x400c24d4 in llvm::MachineInstr::getParent (this=0x0) at MachineInstr.h:408 408 MachineInstr.h: No such file or directory. in MachineInstr.h (gdb) up #1 0x40f05f28 in llvm::LiveVariables::HandleVirtRegUse ( this=0x8060270, VRInfo=@0x8061930, MBB=0x8060970, MI=0x80615d0) at ../../lib/CodeGen/LiveVariables.cpp:100 100 assert(MBB != VRInfo.DefInst->getParent() && (gdb) p VRInfo.DefInst $1 = (llvm::MachineInstr *) 0x0 (gdb) up #2 0x40f0678f in llvm::LiveVariables::runOnMachineFunction ( this=0x8060270,...
2005 May 17
2
[LLVMdev] Register Allocation problem
...the part that I think cheaks for dead code because a Variable didn't have a defined Instance to a Machine instruction. " llc: LiveVariables.cpp:86: void llvm::LiveVariables::HandleVirtRegUse(llvm::LiveVariables::VarInfo&, llvm::MachineBasicBlock*, llvm::MachineInstr*): Assertion `VRInfo.DefInst && "Register use before def!"' failed. /home/llvm/Debug/bin/llc((anonymous namespace)::PrintStackTrace()+0x1a)[0x86abeda] /home/llvm/Debug/bin/llc((anonymous namespace)::SignalHandler(int)+0xcb)[0x86ac14d] ... " Is there any passes that need to occur to correct...
2005 May 17
0
[LLVMdev] Register Allocation problem
...or dead > code because a Variable didn't have a defined Instance to a Machine > instruction. > > " llc: LiveVariables.cpp:86: void > llvm::LiveVariables::HandleVirtRegUse(llvm::LiveVariables::VarInfo&, > llvm::MachineBasicBlock*, llvm::MachineInstr*): Assertion > `VRInfo.DefInst && "Register use before def!"' failed. This is a bug in your instruction selector and the assertion is telling you exactly what's wrong. Registers in MachineInstrs are also in SSA -- there must be a single static def of any register before its use. To help you n...
2007 Aug 16
0
[LLVMdev] Changing basic blocks
...I was able to do it. I guess so, at least. Now when compiling my test program, llc dumps: -- llc: /home/mentat/llvm_work/llvm/lib/CodeGen/LiveVariables.cpp:155: void llvm::LiveVariables::HandleVirtRegUse(llvm::LiveVariables::VarInfo&, llvm::MachineBasicBlock*, llvm::MachineInstr*): Assertion `VRInfo.DefInst && "Register use before def!"' failed. llc((anonymous namespace)::PrintStackTrace()+0x1a)[0x86a167a] [0x6] /lib/libc.so.6(abort+0x108)[0x556d9dc8] /lib/libc.so.6(__assert_fail+0xfc)[0x556d1f6c] llc(llvm::LiveVariables::HandleVirtRegUse(llvm::LiveVariables::VarInfo&...
2007 Aug 10
2
[LLVMdev] Changing basic blocks
For adding the nop: TII->insertNoop(*BB, BB->end()); 2007/8/9, Chris Lattner <sabre at nondot.org>: > > On Thu, 9 Aug 2007, [ISO-8859-1] Emílio Wuerges wrote: > > I too believe it should not be complicated. > > But I was not being able to do it. > > Finally, after some thinking (and tinkering), this worked like a charm: > > > > MachineInstr* mi =