nv50/ir: optimize SHLADD(a, b, 0x0) to SHL(a, b)
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Sep 2016 16:57:02 +0000 (18:57 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 29 Sep 2016 19:20:44 +0000 (21:20 +0200)
commit2e008be9a9a4c94564c11718e0f6fc029caa0e44
treea5f8a10056366c1afb30f82a2c1c825dae834a56
parente4eb0fca024babcd7bea2b34a7e7605287963ce0
nv50/ir: optimize SHLADD(a, b, 0x0) to SHL(a, b)

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