nir/algebraic: Optimize integer cast-of-cast
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 22 Apr 2019 23:03:04 +0000 (18:03 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 26 Apr 2019 09:26:08 +0000 (04:26 -0500)
commit00d4e78ea938e770ed48882a00d15a7500a281b4
tree65e95ae7d9d3eff098bf9726075fe3c2aed86ca5
parent934f178341f7ec3bb10e3fa1499198e7988b086f
nir/algebraic: Optimize integer cast-of-cast

These have been popping up more and more with the OpenCL work and other
bits causing extra conversions to/from 64-bit.

Reviewed-by: Karol Herbst <kherbst@redhat.com>
src/compiler/nir/nir_opt_algebraic.py