similar to: [LLVMdev] Linear scan is now the default register allocator

Displaying 20 results from an estimated 50000 matches similar to: "[LLVMdev] Linear scan is now the default register allocator"

2006 Dec 22
0
[LLVMdev] Possible bug in the linear scan register allocator
On Thu, 21 Dec 2006, Roman Levenstein wrote: > following: > 1) some of the fixed registers intervals are merged with some virtual > registers intervals > 2) later there is a need to spill one of the allocated registers, but > since all joined intervals are FIXED intervals now due to (1), they > cannot be spilled. Therefore, the register allocator loops for ever. > > I would
2003 Dec 28
0
[LLVMdev] Graph coloring register allocator for the x86
On Sun, 28 Dec 2003, Anshu Dasgupta wrote: > CodeGen/RegAlloc/PhysRegAlloc.cpp implements a graph coloring register > allocator for the Sparc back end. It requests target machine register > information via a call to getRegInfo() which returns a class > TargetRegInfo containing the required information. For the x86 target > machine, this interface has not been implemented. Is an
2006 Dec 23
1
[LLVMdev] Possible bug in the linear scan register allocator
--- Chris Lattner <sabre at nondot.org> wrote: > On Thu, 21 Dec 2006, Roman Levenstein wrote: > > following: > > 1) some of the fixed registers intervals are merged with some > virtual > > registers intervals > > 2) later there is a need to spill one of the allocated registers, > but > > since all joined intervals are FIXED intervals now due to (1),
2004 Mar 20
2
LLVM 1.2 Release & Status update
News flash: LLVM 1.2 is now available! -------------------------------------- LLVM 1.2 is the result of ~3 months of hard work by many people in the LLVM community. It contains a bunch of new features, produces substantially better code, and has many bug fixes over the 1.1 release. A detailed list of new and improved features are included in the 1.2 release notes:
2004 Mar 20
2
LLVM 1.2 Release & Status update
News flash: LLVM 1.2 is now available! -------------------------------------- LLVM 1.2 is the result of ~3 months of hard work by many people in the LLVM community. It contains a bunch of new features, produces substantially better code, and has many bug fixes over the 1.1 release. A detailed list of new and improved features are included in the 1.2 release notes:
2004 Apr 26
0
[LLVMdev] x86 cogen quality
On Mon, 26 Apr 2004, Finn S Andersen wrote: > Alkis Evlogimenos wrote: > > >Is there a chance you can try cvs? I would be interested to > >get a simplified test case where the allocator breaks. A lot of > >improvements went into the x86 backend since 1.2 and we currently have > >no test cases where the allocator breaks today. > I updated and recompiled and the
2007 Jun 22
3
[LLVMdev] BigBlock register allocator
Hi everyone, Quick summary: LLVM now has a new register allocator particularly suitable for compiling (very) large, machine-generated functions. Longer story: I've recently been using LLVM in an application that involves JITing fairly large functions that have no control flow - they're just flat sequences of instructions, anywhere from 100 to 10000+ in size. (The control flow is
2006 Dec 21
1
[LLVMdev] Possible bug in the linear scan register allocator
Hi, I was working on extending soft-float support for handling expansion of i64 and f64 into i16, i.e. on supporting the expansion of long values of illegal types into more then two parts. For that I modified SelectionDAGLowering::getValue() and several other functions. This seems to work now on my test-cases, but while testing it I ran into a different problem. I have the impression that I
2011 Sep 16
1
[LLVMdev] Linear scan is going away after 3.0
I will be removing RegAllocLinearScan and VirtRegRewriter from trunk shortly after we cut the 3.0 release branch. LLVM 3.0 will still ship with the linear scan register allocator, but the default will be the new greedy allocator. Linear scan can be enabled by passing '-regalloc=linearscan -join-physregs' to llc. RegAllocLinearScan and VirtRegRewriter need to go away soon because they
2006 Sep 02
0
[LLVMdev] Testing a register allocator
> Hi! > > I developed a register allocator within LLVM and now I need to test its > efficiency. Can I do this using llvm-test package? > Do llvm tests check all available regalloc options automatically? If not, > then what modifications should I do to the test files? > It would be great if I could test my algo along with linearscan and compare > the results. > >
2007 Jun 22
0
[LLVMdev] BigBlock register allocator
Hi Duraid, > Hi everyone, > > Quick summary: > > LLVM now has a new register allocator particularly suitable for > compiling (very) large, machine-generated functions. Congrats! Very good job! > Longer story: > > I've recently been using LLVM in an application that involves JITing > > fairly large functions that have no control flow - they're
2004 Apr 26
2
[LLVMdev] x86 cogen quality
Alkis Evlogimenos wrote: >Is there a chance you can try cvs? I would be interested to >get a simplified test case where the allocator breaks. A lot of >improvements went into the x86 backend since 1.2 and we currently have >no test cases where the allocator breaks today. > > I updated and recompiled and the error is still there. It turns out that I cannot use the bugpoint
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
2006 Sep 03
2
[LLVMdev] Testing a register allocator
Hi again! I've managed to run the llvm-test with the options Fernando told. What I did was the following: I changed llc regalloc option in TEST.llc.makefile to my allocator. I changed LLCBETAOPTION in makefile.programs file for all architechtures to use my allocator. I run make TEST=nightly report.html and got all tests under LLCBETA failed ('*' symbol). Though I know that my
2011 May 03
1
[LLVMdev] Greedy register allocation
On May 3, 2011, at 3:24 PM, David A. Greene wrote: > Jakob Stoklund Olesen <stoklund at 2pi.dk> writes: > >> On May 3, 2011, at 12:03 PM, David A. Greene wrote: > >>> 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
2007 Apr 03
0
[LLVMdev] Live Intervals vs. Live Variables
On 4/3/07, David Greene <greened at obbligato.org> wrote: > > Toward a better register allocator, I'm attempting to understand > the dataflow information available to the allocator. > > What's the difference between LiveInterval information and LiveVariable > information? If a LiveInterval is based on a linear ordering of > the machine instructions, isn't it
2006 Sep 19
0
[LLVMdev] Testing a register allocator
> > If the test output claims that llc-beta fails, then your register > allocator is producing incorrect code. Ok, I run make TEST=llc report.html with default allocator, not mine. Why LLCBETAOPTION for X86 is local, not linearscan? I've got some tests having * in some columns (for example, in column with register spills count). Does it mean that the test failed? Thanks.
2006 Sep 01
3
[LLVMdev] Testing a register allocator
Hi! I developed a register allocator within LLVM and now I need to test its efficiency. Can I do this using llvm-test package? Do llvm tests check all available regalloc options automatically? If not, then what modifications should I do to the test files? It would be great if I could test my algo along with linearscan and compare the results. Thanks. Tony. -- "Nae king! Nae quin! Nae
2010 Aug 25
0
[LLVMdev] Register allocation marking spills (Re: NumLoads/NumStores for linearscan?)
On 25 Aug 2010, at 02:04, Silvio Ricardo Cordeiro wrote: > On Sun, Aug 15, 2010 at 10:04 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote: > > On Aug 15, 2010, at 5:12 PM, Silvio Ricardo Cordeiro wrote: > > > Is there a way for me to collect statistics about the number of loads/stores added by the "linearscan" register allocator (just like can be done with
2004 Aug 27
0
[LLVMdev] Register allocator assert
On Fri, 2004-08-27 at 08:05, Vladimir Prus wrote: > Hello, > I'm getting an assertion in register allocator, specifically in > LiveIntervalAnalysis.h, method LiveIntervals::getInstructionIndex: > > unsigned getInstructionIndex(MachineInstr* instr) const { > Mi2IndexMap::const_iterator it = mi2iMap_.find(instr); > assert(it != mi2iMap_.end() &&