search for: emitschedule

Displaying 20 results from an estimated 21 matches for "emitschedule".

2018 Jun 20
2
PostRAScheduler
Is there any specific documentation on this? Is there a point of contact for this file that I might bug? So I have an instruction that needs noops inserted and it appears that the noops are being inserted in the EmitSchedule function of the PostRAScheduler. From the loop in EmitSchedule it looks like it's inserting noops whenever SUnit is NULL. I don't see anything in the DAG that appears odd or any empty nodes, how are these NULL SUnits inserted into the Sequence? Thanks, Ryan -------------- next part ------...
2010 Nov 12
1
[LLVMdev] ScheduleDAG Question
I am tracking down a tricky bug involving select/CMOV and scheduling. In my test, I have a float select that has to be implemented with a diamond CFG by the scheduler. The high level ScheduleDAGSDNodes::EmitSchedule does this: for (unsigned i = 0, e = Sequence.size(); i != e; i++) { [...] Emitter.EmitNode(SU->getNode(), SU->OrigNode != SU, SU->isCloned, VRBaseMap); [...] } TheInstrEmitter::EmitMachineNode does this: if (II.usesCustomInsertionHook()) { //...
2007 Apr 06
3
[LLVMdev] llc assertion failure
...;(llvm::SDOperand const&)+0x4c)[0x83f6af6] /home/lefever/work/install/bin/llc(llvm::ScheduleDAG::EmitNode(llvm::SDNode*, llvm::DenseMap<llvm::SDNode*, unsigned int, llvm::DenseMapKeyInfo<llvm::SDNode*> >&)+0x8b2)[0x86ab9fc] /home/lefever/work/install/bin/llc(llvm::ScheduleDAG::EmitSchedule()+0x283)[0x86abf7d] /home/lefever/work/install/bin/llc[0x861cada] /home/lefever/work/install/bin/llc(llvm::ScheduleDAG::Run()+0x94)[0x86a9d6c] /home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::ScheduleAndEmitDAG(llvm::SelectionDAG&)+0x73)[0x863e64d] /home/lefever/work/install/bin/llc[0...
2018 Mar 28
7
[RFC] Generate Debug Information for Labels in Function
...s DILabel metadata as its parameter. 3. Create data structure, SDDbgLabel, to store debug information of labels in SelectionDAG. In SelectionDAG, we need a data structure to keep debug information of label. It will keep DILabel metadata. 4. Convert SDDbgLabel to DBG_LABEL in SelectionDAG. After EmitSchedule(), SelectionDAG will be converted to a list of MI instructions. In the function, we will generate DBG_LABEL MachineInstr from SDDbgLabel. For FastISel and GlobalISel, we could convert llvm.dbg.label to DBG_LABEL directly. 5. Collect debug information of labels from MI listing to DebugHandlerBase....
2007 Apr 06
0
[LLVMdev] llc assertion failure
...nst&)+0x4c)[0x83f6af6] > /home/lefever/work/install/bin/llc(llvm::ScheduleDAG::EmitNode(llvm::SDNode*, > llvm::DenseMap<llvm::SDNode*, unsigned int, > llvm::DenseMapKeyInfo<llvm::SDNode*> >&)+0x8b2)[0x86ab9fc] > /home/lefever/work/install/bin/llc(llvm::ScheduleDAG::EmitSchedule()+0x283)[0x86abf7d] > /home/lefever/work/install/bin/llc[0x861cada] > /home/lefever/work/install/bin/llc(llvm::ScheduleDAG::Run()+0x94)[0x86a9d6c] > /home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::ScheduleAndEmitDAG(llvm::SelectionDAG&)+0x73)[0x863e64d] > /home/lefever/wo...
2007 Apr 06
2
[LLVMdev] llc assertion failure
...4c)[0x83f6af6] >>/home/lefever/work/install/bin/llc(llvm::ScheduleDAG::EmitNode(llvm::SDNode*, >>llvm::DenseMap<llvm::SDNode*, unsigned int, >>llvm::DenseMapKeyInfo<llvm::SDNode*> >&)+0x8b2)[0x86ab9fc] >>/home/lefever/work/install/bin/llc(llvm::ScheduleDAG::EmitSchedule()+0x283)[0x86abf7d] >>/home/lefever/work/install/bin/llc[0x861cada] >>/home/lefever/work/install/bin/llc(llvm::ScheduleDAG::Run()+0x94)[0x86a9d6c] >>/home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::ScheduleAndEmitDAG(llvm::SelectionDAG&)+0x73)[0x863e64d] >>/hom...
2009 Jan 27
3
[LLVMdev] Hitting assertion, unsure why
Ok, I've had time to track this down a little bit more and I seem to have found another case where it fails. This is occurring during Schedulur->EmitSchedule() in SelectionDAGISel.cpp:695. The problem seems to be that somehow the CopyToReg part of the switch statement in ScheduleDAG::EmitNode has a FrameIndex as its second operand. This is especially problematic because the code is either expecting a VirtualRegister or a RegisterSDNode in this location....
2007 Sep 05
1
[LLVMdev] Exception Problems
...es/Gir/devel/llvm/llvm.src/lib/ CodeGen/SelectionDAG/ScheduleDAG.cpp:304 #7 0x007c5938 in llvm::ScheduleDAG::EmitNode (this=0x41a25a50, Node=0x41a17f60, VRBaseMap=@0xbfffe218) at /Volumes/Gir/devel/llvm/ llvm.src/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:716 #8 0x007c5f00 in llvm::ScheduleDAG::EmitSchedule (this=0x41a25a50) at /Volumes/Gir/devel/llvm/llvm.src/lib/CodeGen/SelectionDAG/ ScheduleDAG.cpp:807 #9 0x007cdb46 in (anonymous namespace)::ScheduleDAGRRList::Schedule (this=0x41a25a50) at /Volumes/Gir/devel/llvm/llvm.src/lib/CodeGen/ SelectionDAG/ScheduleDAGRRList.cpp:113 #10 0x007c2a6a in...
2018 Mar 28
0
[RFC] Generate Debug Information for Labels in Function
...3. Create data structure, SDDbgLabel, to store debug information of > labels in SelectionDAG. > > In SelectionDAG, we need a data structure to keep debug information of > label. It will keep DILabel metadata. > > 4. Convert SDDbgLabel to DBG_LABEL in SelectionDAG. > > After EmitSchedule(), SelectionDAG will be converted to a list of MI > instructions. In the function, we will generate DBG_LABEL MachineInstr > from SDDbgLabel. > > For FastISel and GlobalISel, we could convert llvm.dbg.label to > DBG_LABEL directly. > > 5. Collect debug information of labels fro...
2018 Mar 28
0
[RFC] Generate Debug Information for Labels in Function
...3. Create data structure, SDDbgLabel, to store debug information of > labels in SelectionDAG. > > In SelectionDAG, we need a data structure to keep debug information of > label. It will keep DILabel metadata. > > 4. Convert SDDbgLabel to DBG_LABEL in SelectionDAG. > > After EmitSchedule(), SelectionDAG will be converted to a list of MI > instructions. In the function, we will generate DBG_LABEL MachineInstr > from SDDbgLabel. > > For FastISel and GlobalISel, we could convert llvm.dbg.label to > DBG_LABEL directly. > > 5. Collect debug information of labels fro...
2009 Jan 28
0
[LLVMdev] Hitting assertion, unsure why
On Jan 27, 2009, at 3:54 PM, Villmow, Micah wrote: > Ok, I've had time to track this down a little bit more and I seem to > have found another case where it fails. This is occurring during > Schedulur->EmitSchedule() in SelectionDAGISel.cpp:695. The problem > seems > to be that somehow the CopyToReg part of the switch statement in > ScheduleDAG::EmitNode has a FrameIndex as its second operand. This is > especially problematic because the code is either expecting a > VirtualRegister or a Regis...
2007 Apr 06
0
[LLVMdev] llc assertion failure
...>>/home/lefever/work/install/bin/llc(llvm::ScheduleDAG::EmitNode(llvm::SDNode*, > >>llvm::DenseMap<llvm::SDNode*, unsigned int, > >>llvm::DenseMapKeyInfo<llvm::SDNode*> >&)+0x8b2)[0x86ab9fc] > >>/home/lefever/work/install/bin/llc(llvm::ScheduleDAG::EmitSchedule()+0x283)[0x86abf7d] > >>/home/lefever/work/install/bin/llc[0x861cada] > >>/home/lefever/work/install/bin/llc(llvm::ScheduleDAG::Run()+0x94)[0x86a9d6c] > >>/home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::ScheduleAndEmitDAG(llvm::SelectionDAG&)+0x73)[0x863e64...
2018 Mar 29
0
[RFC] Generate Debug Information for Labels in Function
...Create data structure, SDDbgLabel, to store debug information of > labels in SelectionDAG. > > In SelectionDAG, we need a data structure to keep debug information of > label. It will keep DILabel metadata. > > 4. Convert SDDbgLabel to DBG_LABEL in SelectionDAG. > > After EmitSchedule(), SelectionDAG will be converted to a list of MI > instructions. In the function, we will generate DBG_LABEL MachineInstr > from SDDbgLabel. > > For FastISel and GlobalISel, we could convert llvm.dbg.label to > DBG_LABEL directly. > > 5. Collect debug information of labels f...
2009 Jan 15
0
[LLVMdev] Hitting assertion, unsure why
Other than not using debugging ('-g' and the like), not really. :-( I think that Devang is actively working on fixing this, though. It might not be too much longer. -bw On Thu, Jan 15, 2009 at 3:26 PM, Villmow, Micah <Micah.Villmow at amd.com> wrote: > This did not seem to work, any other ideas? > > Thanks, > > -----Original Message----- > From: llvmdev-bounces at
2009 Jan 30
1
[LLVMdev] Hitting assertion, unsure why
...M Developers Mailing List Subject: Re: [LLVMdev] Hitting assertion, unsure why On Jan 27, 2009, at 3:54 PM, Villmow, Micah wrote: > Ok, I've had time to track this down a little bit more and I seem to > have found another case where it fails. This is occurring during > Schedulur->EmitSchedule() in SelectionDAGISel.cpp:695. The problem > seems > to be that somehow the CopyToReg part of the switch statement in > ScheduleDAG::EmitNode has a FrameIndex as its second operand. This is > especially problematic because the code is either expecting a > VirtualRegister or a Regis...
2010 Aug 27
0
[LLVMdev] What does this error mean: psuedo instructions should be removed before code emission?
On Aug 27, 2010, at 11:53 AMPDT, Yuri wrote: > On 08/27/2010 11:32, Yuri wrote: >> As I understand only one of TCRETURNri64 and RET should be created. >> I have sources of rev.112200. >> >> Here is the stack when TCRETURNri64 instruction is created: >> #1 0x0000000802c8b4e2 in llvm::MachineFunction::CreateMachineInstr >> (this=0x30eb000, TID=@0x803a78940,
2013 Jan 14
2
[LLVMdev] Troubleshooting Internal Garbage Collection
...(llvm::MCInstrDesc const&, llvm::DebugLoc, bool) + 111 12 llc 0x0871b4a0 llvm::InstrEmitter::EmitMachineNode(llvm::SDNode*, bool, bool, llvm::DenseMap<llvm::SDValue, unsigned int, llvm::DenseMapInfo<llvm::SDValue> >&) + 512 13 llc 0x0866dfbd llvm::ScheduleDAGSDNodes::EmitSchedule(llvm::MachineBasicBlock::bundle_iterator<llvm::MachineInstr, llvm::ilist_iterator<llvm::MachineInstr> >&) + 1325 14 llc 0x086ea97f llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 1439 15 llc 0x086ecdf6 llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::...
2010 Aug 27
2
[LLVMdev] What does this error mean: psuedo instructions should be removed before code emission?
...50) at /tmp/llvm-svn/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp:671 #4 0x00000008031f6bdf in llvm::InstrEmitter::EmitNode (this=0x7fffffff7f80, Node=0x4b6c510, IsClone=false, IsCloned=false, VRBaseMap=@0x7fffffff8050) at InstrEmitter.h:118 #5 0x00000008031f5781 in llvm::ScheduleDAGSDNodes::EmitSchedule (this=0x4b68400) at /tmp/llvm-svn/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp:602 #6 0x0000000803275459 in llvm::SelectionDAGISel::CodeGenAndEmitDAG (this=0x45174d0) at /tmp/llvm-svn/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:547 #7 0x00000008032740fc in llvm::SelectionDAGISe...
2009 Jan 15
2
[LLVMdev] Hitting assertion, unsure why
This did not seem to work, any other ideas? Thanks, -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Bill Wendling Sent: Thursday, January 15, 2009 2:26 PM To: LLVM Developers Mailing List Subject: Re: [LLVMdev] Hitting assertion, unsure why Don't generate debug info at this time (you can use "opt -strip-debug")?
2018 Mar 30
2
[RFC] Generate Debug Information for Labels in Function
...Label, to store debug information of >> labels in SelectionDAG. >> >> In SelectionDAG, we need a data structure to keep debug information of >> label. It will keep DILabel metadata. >> >> 4. Convert SDDbgLabel to DBG_LABEL in SelectionDAG. >> >> After EmitSchedule(), SelectionDAG will be converted to a list of MI >> instructions. In the function, we will generate DBG_LABEL MachineInstr >> from SDDbgLabel. >> >> For FastISel and GlobalISel, we could convert llvm.dbg.label to >> DBG_LABEL directly. >> >> 5. Collect deb...