intel/fs: Define is_payload() method of the IR instruction class.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 9 Nov 2018 22:13:37 +0000 (14:13 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 11 Oct 2019 19:24:16 +0000 (12:24 -0700)
commitf326d9d218d33a45f79d92bcb2bb04da9061a300
tree869c6edb6169afe0c1d1a515ee58df56e2212ab0
parenta42581fa8f28f282c9faaeb948c3bb192b4a979e
intel/fs: Define is_payload() method of the IR instruction class.

This is required because SEND message payload sources are fetched
asynchronously by the hardware, which can lead to WaR data corruption
on Gen12+ platforms if not handled specially by the compiler to
guarantee proper synchronization.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_ir_fs.h