[llvm] r231186 - RegisterCoalescer: Gracefully continue if subrange merging fails.

Matthias Braun matze at braunis.de
Tue Mar 3 17:25:09 PST 2015


Unfortunately there is not target on llvm trunk that comes close to having 32 subregister lanes. So I can't commit a testcase here.

- Matthias

On Mar 3, 2015, at 5:21 PM, Chandler Carruth <chandlerc at google.com> wrote:
> 
> 
> On Tue, Mar 3, 2015 at 4:43 PM, Matthias Braun <matze at braunis.de <mailto:matze at braunis.de>> wrote:
> Author: matze
> Date: Tue Mar  3 18:43:50 2015
> New Revision: 231186
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=231186&view=rev <http://llvm.org/viewvc/llvm-project?rev=231186&view=rev>
> Log:
> RegisterCoalescer: Gracefully continue if subrange merging fails.
> 
> There is a known bug where the register coalescer fails to merge
> subranges when multiple ranges end up in the "overflow" bit 32 of the
> lanemasks. A proper fix for this is complicated so for now this is a
> workaround which lets the register coalescer drop the subregister
> liveness information (we just loose some precision by that) and
> continue.
> 
> Modified:
>     llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp
> 
> No test case? This seems like something really important to cover...
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150303/14cf3671/attachment.html>


More information about the llvm-commits mailing list