search for: defusechain_iterator

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

2010 Oct 20
1
[LLVMdev] MachineBasicBlock insertion
...I(MBB,dl,TII->get(X86::MOV32ri),X86::EAX).addImm(0); // CALL32r %eax // BuildMI(MBB,dl,TII->get(X86::CALL32r)).addReg(X86::EAX); MF.insert(I,MBB); } When I tried to dump the code after the insertion, the program enters an infinite loop in the while loop inside MachineRegisterInfo.h:defusechain_iterator &operator++(). Basically, the CALLpcrel32 instruction has a register operand that points to itself, that is, Contents.Reg.Next stores the address of itself. Does anyone knows how to insert a MachineBasicBlock into a function? Any advice will be appreciated. Thanks in advance. ~Bin
2012 Sep 18
2
[LLVMdev] liveness assertion problem in llc
...* llvm::MachineRegisterInfo::getNextOperandForReg(const llvm::MachineOperand*)") at assert.c:103 #5 0x084faa91 in llvm::MachineRegisterInfo::getNextOperandForReg (MO=0xbfffee8c) at /work/llvm/trunk/llvm/include/llvm/CodeGen/MachineRegisterInfo.h:76 #6 0x086a8118 in llvm::MachineRegisterInfo::defusechain_iterator<true, true, false>::operator++ (this=0xbffff068) at /work/llvm/trunk/llvm/include/llvm/CodeGen/MachineRegisterInfo.h:514 #7 0x08803f51 in llvm::MachineRegisterInfo::defusechain_iterator<true, true, false>::skipInstruction (this=0xbffff068) at /work/llvm/trunk/llvm/include/llvm/CodeGen/...
2012 Sep 18
0
[LLVMdev] liveness assertion problem in llc
On Sep 18, 2012, at 1:45 PM, Bjorn De Sutter <bjorn.desutter at elis.ugent.be> wrote: > I am working on a backend for a CGRA architecture with advanced predicate support (as on EPIC machines and as first used in the OpenIMPACT compiler). Until last month, the backend was working fine, but since the r161643 commit by stoklund, my backend doesn't work anymore. I think I noticed some
2012 Aug 06
2
[LLVMdev] Register Coalescer does not preserve TargetFlag
On Aug 6, 2012, at 11:16 AM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote: > > The getNextOperandForReg() function isn't used anywhere, Should we remove it? -Jim
2010 Oct 20
1
[LLVMdev] MachineBasicBlock insertion and use/def list update
...CALL32r %eax >> // BuildMI(MBB,dl,TII->get(X86::CALL32r)).addReg(X86::EAX); >> MF.insert(I,MBB); >> } >> >> When I tried to dump the code after the insertion, the program enters an >> infinite loop >> in the while loop inside MachineRegisterInfo.h:defusechain_iterator >> &operator++(). >> Basically, the CALLpcrel32 instruction has a register operand that >> points to itself, that is, >> Contents.Reg.Next stores the address of itself. Does anyone knows how to >> insert a MachineBasicBlock >> into a function? Any advice will...