search for: femtopairablepass

Displaying 9 results from an estimated 9 matches for "femtopairablepass".

2012 Mar 26
2
[LLVMdev] PBQP & CalcSpillWeights
...ked the node cost for this register, which is correctly set to inf for spill, as well as the edge costs, and they look ok. I also attached my target's pbqp related file in case you want to double check what I did. This is llvm-3.0 based. It comprises 2 passes : the FemtoPBQPBuilder, plus a FemtoPairablepass, which undo some of the coalescer's work. The insertRegCopy may specifically need a double check, as I am not 100% sure to have updated correctly the LiveInterval information. In terms of registers, the Femto target is simplistic : a single register class GR16, for data and pointers, all i1...
2012 Mar 27
0
[LLVMdev] PBQP & CalcSpillWeights
...s register, which > is correctly set to inf for spill, as well as the edge costs, and they look > ok. > > I also attached my target's pbqp related file in case you want to double check > what I did. This is llvm-3.0 based. It comprises 2 passes : the > FemtoPBQPBuilder, plus a FemtoPairablepass, which undo some of the coalescer's > work. The insertRegCopy may specifically need a double check, as I am not 100% > sure to have updated correctly the LiveInterval information. > > In terms of registers, the Femto target is simplistic : a single register > class GR16, for data...
2012 Mar 27
2
[LLVMdev] PBQP & CalcSpillWeights
...correctly set to inf for spill, as well as the > > edge costs, and they look ok. > > > > I also attached my target's pbqp related file in case you want to double > > check what I did. This is llvm-3.0 based. It comprises 2 passes : the > > FemtoPBQPBuilder, plus a FemtoPairablepass, which undo some of the > > coalescer's work. The insertRegCopy may specifically need a double > > check, as I am not 100% sure to have updated correctly the LiveInterval > > information. > > > > In terms of registers, the Femto target is simplistic : a single &gt...
2012 Apr 05
2
[LLVMdev] PBQP & CalcSpillWeights
...as > > > the > > > edge costs, and they look ok. > > > > > > I also attached my target's pbqp related file in case you want to > > > double check what I did. This is llvm-3.0 based. It comprises 2 > > > passes : the FemtoPBQPBuilder, plus a FemtoPairablepass, which undo > > > some of the coalescer's work. The insertRegCopy may specifically > > > need a double check, as I am not 100% sure to have updated > > > correctly the LiveInterval information. > > > > > > In terms of registers, the Femto target is...
2012 Apr 03
0
[LLVMdev] PBQP & CalcSpillWeights
...l, as well as the > > > edge costs, and they look ok. > > > > > > I also attached my target's pbqp related file in case you want to > double > > > check what I did. This is llvm-3.0 based. It comprises 2 passes : the > > > FemtoPBQPBuilder, plus a FemtoPairablepass, which undo some of the > > > coalescer's work. The insertRegCopy may specifically need a double > > > check, as I am not 100% sure to have updated correctly the LiveInterval > > > information. > > > > > > In terms of registers, the Femto target is s...
2012 Apr 11
0
[LLVMdev] PBQP & CalcSpillWeights
...>> the >>>> edge costs, and they look ok. >>>> >>>> I also attached my target's pbqp related file in case you want to >>>> double check what I did. This is llvm-3.0 based. It comprises 2 >>>> passes : the FemtoPBQPBuilder, plus a FemtoPairablepass, which undo >>>> some of the coalescer's work. The insertRegCopy may specifically >>>> need a double check, as I am not 100% sure to have updated >>>> correctly the LiveInterval information. >>>> >>>> In terms of registers, the Femto t...
2012 Mar 23
0
[LLVMdev] PBQP & CalcSpillWeights
Hi Arnaud, LiveInterval::markNotSpillable() sets the live interval's spill weight to infinity. For well-formed PBQP graphs (i.e. ones that have some finite-cost solution), PBQP should never chose to spill such an interval. The two possibilities for this crash are that the input graph has no finite-cost solution, or that you've exposed a bug in the PBQP solver. >From memory your target
2012 Apr 19
1
[LLVMdev] PBQP & CalcSpillWeights
...;>> edge costs, and they look ok. > >>>> > >>>> I also attached my target's pbqp related file in case you want to > >>>> double check what I did. This is llvm-3.0 based. It comprises 2 > >>>> passes : the FemtoPBQPBuilder, plus a FemtoPairablepass, which undo > >>>> some of the coalescer's work. The insertRegCopy may specifically > >>>> need a double check, as I am not 100% sure to have updated > >>>> correctly the LiveInterval information. > >>>> > >>>> In terms...
2012 Mar 21
2
[LLVMdev] PBQP & CalcSpillWeights
Hi All, I finally had a chance to get back to my pbqp trials, now using the 3.0 release. I still hit the same assert : "Attempting to spill already spilled value." This is triggered because in RegAllocPBQP::mapPBQPToRegAlloc, a vreg node is either : - a physical register (problem.isPRegOption(vreg, alloc)), - or a spill (problem.isSpillOption(vreg, alloc)) The problem is that pass