[PATCH] Change more of the guts of CodeGenRegister's RegUnit tracking to be based on bit vectors.

Chandler Carruth chandlerc at gmail.com
Fri Jan 30 11:21:20 PST 2015


Will look at the code shortly, but can you benchmark a more typical
target's tablegen runs as well just to make sure we're not making a bad
tradeoff here? Similarly, how does it do in debug+asserts builds which are
frustratingly common?
On Jan 30, 2015 11:03 AM, "Owen Anderson" <resistor at mac.com> wrote:

> Hi chandlerc,
>
> This is a continuation of my prior work to move some of the inner workings
> for CodeGenRegister to use bit vectors when computing about register
> units.  This is highly beneficial to TableGen runtime on targets with
> large, dense register files.  This patch represents a ~40% runtime
> reduction over and above my earlier improvement on a stress test of this
> case.
>
> REPOSITORY
>   rL LLVM
>
> http://reviews.llvm.org/D7301
>
> Files:
>   utils/TableGen/CodeGenRegisters.cpp
>   utils/TableGen/CodeGenRegisters.h
>   utils/TableGen/RegisterInfoEmitter.cpp
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
> _______________________________________________
> 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/20150130/1649006f/attachment.html>


More information about the llvm-commits mailing list