nv50/ir: fix ConstantFolding::createMul for 64 bit muls
authorKarol Herbst <kherbst@redhat.com>
Fri, 19 Oct 2018 17:26:39 +0000 (19:26 +0200)
committerKarol Herbst <kherbst@redhat.com>
Sat, 20 Oct 2018 01:00:04 +0000 (03:00 +0200)
commit2d235d69c825a22f218507fd2ba186973ba79002
tree80733b2a2882501557354ccf0550647d5d39ddb2
parentbfb2b902464b1c493e4bfa1f3c2da065a964ac85
nv50/ir: fix ConstantFolding::createMul for 64 bit muls

Fixes: 2f52925f5c60c72c9389bfdc122c3d5f8e15b25f
       "nv50/ir: move a * b -> a << log2(b) code into createMul()"

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp