search for: emitnod

Displaying 20 results from an estimated 31 matches for "emitnod".

Did you mean: emitnode
2007 Apr 06
3
[LLVMdev] llc assertion failure
...o.6(__assert_fail+0xfd)[0x4caae859] /home/lefever/work/install/bin/llc(llvm::cast_retty<llvm::ConstantSDNode, llvm::SDOperand>::ret_type llvm::cast<llvm::ConstantSDNode, llvm::SDOperand>(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/bi...
2007 Apr 06
0
[LLVMdev] llc assertion failure
...fd)[0x4caae859] > /home/lefever/work/install/bin/llc(llvm::cast_retty<llvm::ConstantSDNode, > llvm::SDOperand>::ret_type llvm::cast<llvm::ConstantSDNode, > llvm::SDOperand>(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] > /hom...
2007 Oct 18
0
[LLVMdev] The one remaining bug keeping CellSPU from release...
Sorry, still not enough information. I am guessing it's asserting in getVR() called from EmitNode()? The node is CopyToReg and it's trying to find the virtual register of operand 2? From the schedule, I don't see the definition of the operand. Can you do DAG.viewGraph()? That should gives us a better idea. Evan On Oct 16, 2007, at 9:06 PM, Scott Michel wrote: > Evan: > &g...
2007 Apr 06
2
[LLVMdev] llc assertion failure
...59] >>/home/lefever/work/install/bin/llc(llvm::cast_retty<llvm::ConstantSDNode, >>llvm::SDOperand>::ret_type llvm::cast<llvm::ConstantSDNode, >>llvm::SDOperand>(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[0x861cad...
2015 Jan 31
4
[LLVMdev] How to install poolalloc?
...uch. I am installing LLVM-3.2, but I encounter the next error when carrying out "make": llvm[3]: Compiling ClangASTNodesEmitter.cpp for Release+Asserts build ClangASTNodesEmitter.cpp: In member function ‘std::pair<llvm::Record*, llvm::Record*><unnamed>::ClangASTNodesEmitter::EmitNode(const std::multimap<llvm::Record*, llvm::Record*, std::less<llvm::Record*>, std::allocator<std::pair<llvm::Record* const, llvm::Record*> > >&, llvm::raw_ostream&, llvm::Record*)’: ClangASTNodesEmitter.cpp:80: error: ‘nullptr’ was not declared in this scope make[3]:...
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. I've checked all locations where I use the DAG.getCopyToReg function and none of them pass in a frameindex. I explcitily check tha...
2010 Sep 07
1
[LLVMdev] help converting llvm metadata into dwarf tags
...a field to the SelectionDAGBuilder holding the current metadata which I update in SelectionDAGISel::SetDebugLoc() for every IR instruction. Next, in SelectionDAGBuilder::visit() i transfer the current instruction's metadata from the DAGBuilder to the instruction's SDNode. In InstrEmitter::EmitNode() I copy the metadata from the SDNode to the MachineInstr. DwarfDebug::endModule() creates my user-defined DIE (after defining my own DW_TAG and DW_AT IDs in Dwarf.h) and adds it to the ModuleCU (for simplicity I'm adding my DIEs to the module's debug_info section) I Added a few lines to...
2007 Oct 17
2
[LLVMdev] The one remaining bug keeping CellSPU from release...
Evan: What you requested was in the debug output (sans offending Node), but here it is, outside of the attachment. The offending node is highlighted: SU(0): 0xa908760: ch = EntryToken SU(1): 0xa907600: i32,ch,flag = CopyFromReg 0xa9095d0, 0xa9070e0, 0xa9095d0:1 0xa906e30: ch,flag = CopyToReg 0xa908760, 0xa9070e0, 0xa9071f0 <<--<<--<<--<<--<< Node
2007 Sep 05
1
[LLVMdev] Exception Problems
...b/CodeGen/SelectionDAG/ ScheduleDAG.cpp:269 #6 0x007c5218 in llvm::ScheduleDAG::EmitCopyFromReg (this=0x41a25a50, Node=0x41a17f60, ResNo=0, SrcReg=79, VRBaseMap=@0xbfffe218) at /Volumes/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...
2009 Jan 28
0
[LLVMdev] Hitting assertion, unsure why
...me 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. I've checked all Unfortunately, I don't think anyone can help you until you can track down what is creating the F...
2007 Apr 06
0
[LLVMdev] llc assertion failure
...me/lefever/work/install/bin/llc(llvm::cast_retty<llvm::ConstantSDNode, > >>llvm::SDOperand>::ret_type llvm::cast<llvm::ConstantSDNode, > >>llvm::SDOperand>(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/inst...
2015 Jan 31
0
[LLVMdev] How to install poolalloc?
...VM-3.2, but I encounter the next error when carrying out > "make": > > llvm[3]: Compiling ClangASTNodesEmitter.cpp for Release+Asserts build > ClangASTNodesEmitter.cpp: In member function ‘std::pair<llvm::Record*, > llvm::Record*><unnamed>::ClangASTNodesEmitter::EmitNode(const > std::multimap<llvm::Record*, llvm::Record*, std::less<llvm::Record*>, > std::allocator<std::pair<llvm::Record* const, llvm::Record*> > >&, > llvm::raw_ostream&, llvm::Record*)’: > ClangASTNodesEmitter.cpp:80: error: ‘nullptr’ was not declared in...
2006 Nov 17
2
[LLVMdev] FP emulation (continued)
...o modify the computeRegisterProperties to tell that f64 is actually represented as 2xi32. I also added some code into the function FunctionLoweringInfo::CreateRegForValue for allocating this pair of i32 regs for f64 values. But it does not seem to help. >From what I can see, the problem is that emitNode() still looks at the machine instruction descriptions. And since I still have some insns for load and stores of f64 values (do I still need to have them, if I do the mapping?), it basically allocates f64 registers without even being affected in any form by the modifications described above, becaus...
2010 Nov 12
1
[LLVMdev] ScheduleDAG Question
...g 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()) { // Insert this instruction into the basic block using a target // specific inserter which may returns...
2015 Jan 31
0
[LLVMdev] How to install poolalloc?
....2). If they don't match, it won't compile. Regards, John Criswell > > llvm[3]: Compiling ClangASTNodesEmitter.cpp for Release+Asserts build > ClangASTNodesEmitter.cpp: In member function ‘std::pair<llvm::Record*, > llvm::Record*><unnamed>::ClangASTNodesEmitter::EmitNode(const > std::multimap<llvm::Record*, llvm::Record*, std::less<llvm::Record*>, > std::allocator<std::pair<llvm::Record* const, llvm::Record*> > >&, > llvm::raw_ostream&, llvm::Record*)’: > ClangASTNodesEmitter.cpp:80: error: ‘nullptr’ was not declared...
2006 Nov 20
0
[LLVMdev] FP emulation (continued)
...xpand' and to get TLI.getTypeToTransformTo(f64) to return i32. > I also added some code into the function > FunctionLoweringInfo::CreateRegForValue for allocating this pair of i32 > regs for f64 values. But it does not seem to help. Ok. > From what I can see, the problem is that emitNode() still looks at the > machine instruction descriptions. And since I still have some insns for > load and stores of f64 values (do I still need to have them, if I do > the mapping?), it basically allocates f64 registers without even being > affected in any form by the modifications des...
2007 May 16
2
[LLVMdev] instruction selector failure
...if appropriate. See <URL:http://llvm.org/bugs> for instructions. a backtrace in cc1 shows: (gdb) bt #0 0xf7da55df in raise () from /lib32/libc.so.6 #1 0xf7da6b13 in abort () from /lib32/libc.so.6 #2 0xf7d9edac in __assert_fail () from /lib32/libc.so.6 #3 0x085c63f4 in llvm::ScheduleDAG::EmitNode () (gdb) i would like to fix this bug, but it is hard to tell the real source of the problem: 1.) it could be an error during the legalization. sharing the constant node could be prevented. this would not cause the instruction selector to rewrite the constant node. 2.) the error is in the instr...
2010 Aug 24
0
[LLVMdev] help converting llvm metadata into dwarf tags
Hi Roger, On Mon, Aug 23, 2010 at 4:01 PM, Roger Wang <innit42 at gmail.com> wrote: > Dear all, > > I'd like to find the memory location of certain instructions in a > compiled/linked binary. During the IR phase, I tag instructions I'm > interested in with LLVM'-2.7's new metadata (MDNodes with an identifiable > ID). I'd now like to propagate that data
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
2010 Aug 23
2
[LLVMdev] help converting llvm metadata into dwarf tags
Dear all, I'd like to find the memory location of certain instructions in a compiled/linked binary. During the IR phase, I tag instructions I'm interested in with LLVM'-2.7's new metadata (MDNodes with an identifiable ID). I'd now like to propagate that data to the assembly via a custom DWARF tag I attach to each X86 instruction created from a tagged IR instruction. This will