search for: greedy

Displaying 20 results from an estimated 467 matches for "greedy".

2019 Feb 21
2
How to get Greedy RA to not spill results of trivially rematerializable instructions
I have encountered a rather odd situation with Greedy where it will end up spilling a register that was populated with a zero (with a trivially rematerializable load-immediate instruction). In fact, it spills 3 such values (LICM moves stuff out of a loop, register coalescer replaces copies with load-immediates and then Greedy spills them). I personal...
2011 Sep 26
2
[LLVMdev] Greedy Register Allocation in LLVM 3.0
On Sep 26, 2011, at 2:41 AM, 陳韋任 wrote: >> The greedy allocator is global, but so was the old linear scan allocator. > > In http://blog.llvm.org/2011/09/greedy-register-allocation-in-llvm-30.html > , it says "The algorithm is local, and it cannot clean up messes that > extend beyond a single basic block". Does it mean the rewri...
2011 Sep 26
2
[LLVMdev] Greedy Register Allocation in LLVM 3.0
The greedy allocator is global, but so was the old linear scan allocator. Cameron On Sep 26, 2011, at 2:12 AM, Carlo Alberto Ferraris <cafxx at strayorange.com> wrote: > Just a quick question: is greedy still a local allocator (i.e. only takes into consideration the current bb) or a global one (ta...
2019 Feb 21
2
How to get Greedy RA to not spill results of trivially rematerializable instructions
...olombet <qcolombet at apple.com> wrote: > Do you have a reproducer? > > That shouldn’t happen. > > > On Feb 20, 2019, at 4:12 PM, Nemanja Ivanovic via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > > > I have encountered a rather odd situation with Greedy where it will end > up spilling a register that was populated with a zero (with a trivially > rematerializable load-immediate instruction). > > In fact, it spills 3 such values (LICM moves stuff out of a loop, > register coalescer replaces copies with load-immediates and then Greedy...
2011 Sep 26
0
[LLVMdev] Greedy Register Allocation in LLVM 3.0
Il 26/09/2011 16:49, Jakob Stoklund Olesen ha scritto: > On Sep 26, 2011, at 2:41 AM, 陳韋任 wrote: > >>> The greedy allocator is global, but so was the old linear scan allocator. >> In http://blog.llvm.org/2011/09/greedy-register-allocation-in-llvm-30.html >> , it says "The algorithm is local, and it cannot clean up messes that >> extend beyond a single basic block". Does it mean th...
2017 May 24
2
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
...gt;>> On 22 May 2017, at 09:09, Diana Picus <diana.picus at linaro.org <mailto:diana.picus at linaro.org>> wrote: >>>> >>>> Hi Quentin, >>>> >>>> I actually did a run with -mllvm -optimize-regalloc -mllvm >>>> -regalloc=greedy over the weekend and the test does pass with that. >>>> Haven't measured the compile time though. >>>> >>>> Cheers, >>>> Diana >>> >>> I also did my usual benchmarking run with the same options as Diana did above: >>>...
2017 May 24
2
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
...p with CTMark (part of the test-suite). I ran each of >>> * '-O0 -g', >>> * '-O0 -g -mllvm -global-isel=true -mllvm -global-isel-abort=0', and >>> * '-O0 -g -mllvm -global-isel=true -mllvm -global-isel-abort=0 -mllvm -optimize-regalloc -mllvm -regalloc=greedy' >>> 5 times, cross-compiling from X86 to AArch64, and took the median measured compile times. >>> In summary, I see GlobalISel having a compile time that's 3.5% higher than the current -O0 default. >>> With enabling the greedy register allocator, this increases t...
2011 Sep 28
0
[LLVMdev] Greedy Register Allocation in LLVM 3.0
...allocator" again, it would lead to a lot of misunderstandings when reading descriptions and papers. The typical question then will be "Which LLVM register allocator was meant?" ;-) > > I propose "the LLVM 3.0 register allocator". We have no plans to throw away the greedy allocator in 3.1, but we'll probably make major enhancements to it, which make it incomparable to 3.0. If it does eventually get thrown away and replaced, then a version number can capture that. That makes a lot of sense to me. None of the algorithm details are sacred, and there is a good ch...
2011 Sep 28
3
[LLVMdev] Greedy Register Allocation in LLVM 3.0
...register allocator" again, it would lead to a lot of misunderstandings when reading descriptions and papers. The typical question then will be "Which LLVM register allocator was meant?" ;-) I propose "the LLVM 3.0 register allocator". We have no plans to throw away the greedy allocator in 3.1, but we'll probably make major enhancements to it, which make it incomparable to 3.0. If it does eventually get thrown away and replaced, then a version number can capture that. -Chris
2011 Sep 26
0
[LLVMdev] Greedy Register Allocation in LLVM 3.0
Just a quick question: is greedy still a local allocator (i.e. only takes into consideration the current bb) or a global one (takes into consideration the whole function)? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110926/d87aa2bd/att...
2011 Sep 26
0
[LLVMdev] Greedy Register Allocation in LLVM 3.0
> The greedy allocator is global, but so was the old linear scan allocator. In http://blog.llvm.org/2011/09/greedy-register-allocation-in-llvm-30.html , it says "The algorithm is local, and it cannot clean up messes that extend beyond a single basic block". Does it mean the rewriter algorithm not t...
2006 Feb 16
4
cancelling droppable if draggable dropped on different droppable
I''m writing a web app in which I have several ''windows'' in which the user can perform given functionality. So for example I have one window which manages images on a server (drag an image into a folder and the file physically moved on the server via ajax ) These images can also be dragged into another window to create a slideshow. My problem
2017 May 25
2
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
...he test-suite). I ran each of >>>>> * '-O0 -g', >>>>> * '-O0 -g -mllvm -global-isel=true -mllvm -global-isel-abort=0', and >>>>> * '-O0 -g -mllvm -global-isel=true -mllvm -global-isel-abort=0 -mllvm -optimize-regalloc -mllvm -regalloc=greedy' >>>>> 5 times, cross-compiling from X86 to AArch64, and took the median measured compile times. >>>>> In summary, I see GlobalISel having a compile time that's 3.5% higher than the current -O0 default. >>>>> With enabling the greedy register all...
2011 May 03
3
[LLVMdev] Greedy register allocation
...cation. > > Certainly. I would ask that we keep linearscan around, if possible, as > long as there are significant regressions like this. Our customers tend > to really, really care about performance. That's reasonable, and it is also useful to keep it around as a reference when greedy breaks. On the other hand, I really want to clean up the code surrounding register allocation, and that is much easier to do after linear scan is gone. There is a good chance it won't make it to the 3.0 release. /jakob
2012 Jun 19
1
Stepwise Discriminant Analysis - greedy.wilks
...030N2: num 7.19 27.25 25.28 100 2.68 ... $ I031N2: num -100 -100 8.989 -100 0.598 ... $ I032N2: num 75.4 67 59 0 95.2 ... $ I033N2: num 17.45 5.74 6.74 100 1.49 ... $ I034N2: num 0.472 0.815 0.482 0.399 1.557 ... $ I035N2: num 0 1 100 100 100 100 100 100 0 100 ... > gw_obj <- greedy.wilks(gruppo~., data = data_indiciN2,niveau = 0.1) Errore in summary.manova(e2, test = "Wilks") : residuals have rank 2 < 3 -- View this message in context: http://r.789695.n4.nabble.com/Stepwise-Discriminant-Analysis-greedy-wilks-tp4633902.html Sent from the R help mailing list arc...
2017 Sep 27
2
[MachineCopyPropagation] Issue with register forwarding/allocation/verifier in out-of-tree target
...nterval:    %vreg77 >>>> [192r,208B:0)[208B,260r:1)[312r,364r:2)[380r,464B:3)  0 at 192r >>>> 1 at 208B-phi 2 at 312r 3 at 380r >>>> 0: valnos 0 1 3 >>>> 1: valnos 2 >>>> >>>> In this particular case, I believe that it is the greedy allocator >>>> that is creating the multiple components in the %vreg77 live >>>> interval.  If you look at the attached debug dump file, just after >>>> the greedy allocator runs, the segment of %vreg77 from the def at >>>> 312B to the use at 380B...
2019 Feb 21
2
How to get Greedy RA to not spill results of trivially rematerializable instructions
...wrote: > Do you have a reproducer? > > That shouldn’t happen. > > > On Feb 20, 2019, at 4:12 PM, Nemanja Ivanovic via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: > > > > I have encountered a rather odd situation with Greedy where it will end up spilling a register that was populated with a zero (with a trivially rematerializable load-immediate instruction). > > In fact, it spills 3 such values (LICM moves stuff out of a loop, register coalescer replaces copies with load-immediates and then Greedy spills them). &...
2017 Sep 26
2
[MachineCopyPropagation] Issue with register forwarding/allocation/verifier in out-of-tree target
...l *** >> - function: utils_la_suite_matmul_ref >> - interval: %vreg77 [192r,208B:0)[208B,260r:1)[312r,364r:2)[380r,464B:3) 0 at 192r 1 at 208B-phi 2 at 312r 3 at 380r >> 0: valnos 0 1 3 >> 1: valnos 2 >> >> In this particular case, I believe that it is the greedy allocator that is creating the multiple components in the %vreg77 live interval. If you look at the attached debug dump file, just after the greedy allocator runs, the segment of %vreg77 from the def at 312B to the use at 380B seems to be separable from the other segments. The reason the above ve...
2012 Nov 06
1
[LLVMdev] which Register allocator to use with llc -O0
Hi,   We were using "linearscan" register scan with llc -O0 option. As per the llvm blog, this is replaced with greedy register alloation. http://blog.llvm.org/2011/09/greedy-register-allocation-in-llvm-30.html   But I think, this register allocation (i.e. 'greedy and 'basic') is blocked if used with -O0 option of llc. Only 'fast register allocator' option can be used with -O0.   I wanted to un...
2012 Jun 19
0
greedy.wilks
I have used the greedy.wilks to stepwise discriminant analysis, but it doesn't work with my dataset. I don't understand which is the problem Could you help me please? Thanks in advance Marta > str(data_indiciN2) 'data.frame': 200 obs. of 36 variables: $ gruppo: Factor w/ 2 levels "0",&...