[Mesa-dev] [PATCH 0/2] V2: Use hash table cloning in copy propagation

Dave Airlie airlied at gmail.com
Wed Mar 14 07:13:12 UTC 2018


On 14 March 2018 at 09:22, Thomas Helland <thomashelland90 at gmail.com> wrote:
> Sending out a v2 just in case someone has any more comments.
> If not I'll probably push these tomorrow, or thursday.
>
> This is a revival of some old patches I had around to improve
> the compile times in the glsl compiler by reducing the time
> spend inserting items in the hash table in opt_copy_propagation.
> I've only rebased this, as my system don't even want to compile
> anything right now. I also don't remember if it was thoroughly
> tested, so that will have to be done. Sending it out as Dave
> might be interested in this to mitigate some of the overhead
> his soft-dobule implementation incurs.
>
> Thomas Helland (2):
>   util: Implement a hash table cloning function
>   glsl: Use hash table cloning in copy propagation

It definitely reduces the overheads in my tests, copy prop is no long
a major thing
in my perf results if I apply these.

Dave.


More information about the mesa-dev mailing list