nv50/ir: also do PostRaLoadPropagation for FMA
authorKarol Herbst <karolherbst@gmail.com>
Sun, 26 Mar 2017 19:46:01 +0000 (21:46 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 1 Apr 2017 03:57:16 +0000 (23:57 -0400)
commitbaaae8cb81bd62a78d63adfc0d9278288162e36b
treea1bc8087a487b72359d5800be081f3d0eb98f1a0
parent7d007824a312d4426e8e8e487e502e5fea2bbf58
nv50/ir: also do PostRaLoadPropagation for FMA

Helps Feral-ported games, due to their use of fma()

shader-db changes:
total instructions in shared programs : 3934925 -> 3934327 (-0.02%)
total gprs used in shared programs    : 481563 -> 481563 (0.00%)
total local used in shared programs   : 27469 -> 27469 (0.00%)
total bytes used in shared programs   : 36061888 -> 36056504 (-0.01%)

                local        gpr       inst      bytes
    helped           0           0         228         228
      hurt           0           0           0           0

Signed-off-by: Karol Herbst <karolherbst@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp