nv50/ir: don't flip SHL(ADD) into ADD(SHL) if ADD sources have modifiers
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 20 Jan 2016 22:59:34 +0000 (17:59 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 20 Jan 2016 23:03:36 +0000 (18:03 -0500)
commitdc3ac418bf889620c93f50c68ef55b9e9de3afd3
tree2ac7da4aa79a1d62fefcc5bd37fb738d7c009f3f
parent3a635761685e839447fec2e5f84ce8bb8682dbc7
nv50/ir: don't flip SHL(ADD) into ADD(SHL) if ADD sources have modifiers

Fixes: 31fde8fa (nv50/ir: flip shl(add, imm) into add(shl, imm))
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp