[llvm-commits] [patch]: Fix regalloc issue with splitting range of spilling registers

Peter Cooper peter_cooper at apple.com
Mon Dec 12 11:53:44 PST 2011


Hi

Please review the attached patch which fixes a register allocator issue that came up in clang self hosting.

The problem is that if we create new intervals for registers that are currently being spilled then the new intervals might not spill.  Any reads from the spilled location then won't get the value from the non-spilled locations.

The patch fixes this by avoiding creating the new intervals when they are for a spilling register.

Thanks,
Pete

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10546864.patch
Type: application/octet-stream
Size: 3252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111212/d4eac474/attachment.obj>


More information about the llvm-commits mailing list