freedreno/ir3: check the type of regs of absneg opcode in is_same_type_mov.
authorHyunjun Ko <zzoon@igalia.com>
Mon, 15 Apr 2019 03:42:23 +0000 (03:42 +0000)
committerRob Clark <robdclark@chromium.org>
Mon, 3 Jun 2019 19:44:03 +0000 (12:44 -0700)
commita9b556d3a041a817fc02c94e705fb865ffde86aa
tree7bcad53603e6c65fcd2a103450a6bd7d53f55c69
parent6fb8ef3da6cfaad2040f694f8cfde4f7c9ad6a38
freedreno/ir3: check the type of regs of absneg opcode in is_same_type_mov.

If the type of dest reg and src reg of absneg opcode are different,
it shouldn't be considered as same type mov.

This patch becomes meaningful when we start to use mediump information for
doing precision lowering to 16bit.

Signed-off-by: Rob Clark <robdclark@chromium.org>
src/freedreno/ir3/ir3.h