nv50/ir: start LocalCSE with getFirst to merge PHI instructions
authorKarol Herbst <karolherbst@gmail.com>
Thu, 6 Oct 2016 21:33:14 +0000 (23:33 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 25 Oct 2016 18:55:07 +0000 (20:55 +0200)
commit0404678c5f72162c9898c9c94ca67969106227c8
tree5c0e30d4a1ed8ef070a4fcd2f53ca28664b7eeb1
parent7b2712c367891e96384226a1fa94679a814235d0
nv50/ir: start LocalCSE with getFirst to merge PHI instructions

total instructions in shared programs : 3499888 -> 3499445 (-0.01%)
total gprs used in shared programs    : 453866 -> 453803 (-0.01%)
total local used in shared programs   : 21621 -> 21621 (0.00%)
total bytes used in shared programs   : 32078952 -> 32074936 (-0.01%)

                local        gpr       inst      bytes
    helped           0          39         119         119
      hurt           0           0           0           0

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