intel/compiler: validate conversions between 64-bit and 8-bit types
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 8 Feb 2019 08:20:56 +0000 (09:20 +0100)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Thu, 18 Apr 2019 09:05:18 +0000 (11:05 +0200)
commit58d6417e591db3f440c4a1c06c9cfdfae2a06dfb
tree2c0821fb6e0a49e8811cf5179417b14f2f4b2af3
parent7376d57a9c6ae69bc47bbbfe5d3b1a0ed0639227
intel/compiler: validate conversions between 64-bit and 8-bit types

v2:
 - Add some tests with UB type too (Jason)

v3:
 - consider implicit conversions from 2src instructions too (Curro).

v4:
 - Do not check src1 type in single-source instructions (Curro).

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v2)
src/intel/compiler/brw_eu_validate.c
src/intel/compiler/test_eu_validate.cpp