Skip to content

NIR memory usage reduction

Ian Romanick requested to merge idr/mesa:phi-builder-v2 into master

After incorporating several of Jason's suggestions, I have decided to just resend this series. The end result is the same for the worst case. The other cases are 1% - 4% less peak memory usage. The new series is also about 80 lines less code (git diff phi-builder-v1..phi-builder-v2 is 72 insertions(+), 151 deletions(-)).

The old series (with trivial changes) is:

I just re-ordered the old series so that the first two patches of both are the same.

NOTE: The first patch in the series has already landed on master, but I accidentally pushed it without the R-b. :(

Merge request reports