nir/algebraic: Fix a typo in the bit size validation code
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 22 Oct 2018 23:29:52 +0000 (18:29 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 23 Oct 2018 17:22:29 +0000 (12:22 -0500)
commitecb7775e1cac7f3119e5d1c31ce1572509c0f1bb
tree3e5eb45d28c55fa54bb9d2ce02e3a78d53771168
parentb75fb8ee36e907820e23dde90f15d0774b8d1b6b
nir/algebraic: Fix a typo in the bit size validation code

The conon_bit_class and canon_var_class variables got switched.

Fixes: 932c650e0b "nir/algebraic: Loosen a restriction on variables"
Reported-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/nir/nir_algebraic.py