intel/mi: only resolve to a temp register if source isn't in memory
authorEric Engestrom <eric.engestrom@intel.com>
Mon, 29 Jul 2019 14:11:13 +0000 (15:11 +0100)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 29 Jul 2019 20:35:42 +0000 (13:35 -0700)
commit8486dbb066e03ac2fa94ced63716ec2ce4bdfde8
tree6b9cee96f5cdef77a7c70f3c080318b9875e8a39
parent5596038e2fd7451cb343ebab70bfa577bcd2b9c6
intel/mi: only resolve to a temp register if source isn't in memory

aka. fix a s/||/&&/ typo

Fixes: 74063ee61aadd1371a9b ("intel/mi: Add a new gen_mi_store_if() helper.")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/common/gen_mi_builder.h