nv50/ir: properly set the type of the constant folding result
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 7 Nov 2015 00:28:29 +0000 (19:28 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 7 Nov 2015 00:39:32 +0000 (19:39 -0500)
commit393d0c336bc766a123e139ae85383663f81e00d1
tree364cd551dc80aa028762a20fdb9fb81cae41eb14
parent2f9aaed7499499679d44e47b7a070df237f77683
nv50/ir: properly set the type of the constant folding result

This removes the hack used for merge, which only covers a fraction of
the cases.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp