[LLVMbugs] [Bug 535] Register allocator should coallesce physregs more aggressively

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Mar 9 15:07:29 PST 2005


sabre at nondot.org changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
            Summary|Register allocator should   |Register allocator should
                   |remove unnecessary copies   |coallesce physregs more
                   |                            |aggressively

------- Additional Comments From sabre at nondot.org  2005-03-09 17:07 -------
Fixed.  Patch here:

This testcase is now compiled to this:

        ldgp $29, 0($27)
        ldiq $0,5
        stl $0,MyVar
        ldiq $0,12
        stl $0,MyVar2
        ret $31,($26),1

instead of this:

        ldgp $29, 0($27)
        bis $29,$29,$0
        ldiq $1,5
        bis $0,$0,$29
        stl $1,MyVar
        ldiq $1,12
        bis $0,$0,$29
        stl $1,MyVar2
        ret $31,($26),1


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list