nir/algebraic: Only include nir_search_helpers once
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 18 Jan 2017 17:21:07 +0000 (09:21 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 20 Jan 2017 05:40:30 +0000 (21:40 -0800)
commitf22ee14644143b5edeed7f345b93fb361c16c71b
tree12f98b3c6cca09702970305aeb37a64422372c88
parent6de293284bff2d2f8e5b08ea21fc1e2ed68a181f
nir/algebraic: Only include nir_search_helpers once

We were including it once per value, so probably around 10k times.
Let's not cause the compiler any more work than we have to.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/compiler/nir/nir_algebraic.py