nir/range-analysis: Use types in the hash key
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 13 Aug 2019 00:28:35 +0000 (17:28 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 25 Sep 2019 22:37:01 +0000 (15:37 -0700)
commit99ddb41e2d46de613b1b15c9da8fd08a12e24658
treeb9a62f6b36f653a323f05b3439e867c2740b84b7
parent018d2b524ad399ef9ea6d31de98de7078d702980
nir/range-analysis: Use types in the hash key

This allows the reslut of mov and bcsel to be separately interpreted as
float or int depending on the use.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/nir/nir_range_analysis.c